diff options
-rw-r--r-- | holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java b/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java index f7825e7..904a853 100644 --- a/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java +++ b/holmes-actions/src/main/java/org/openo/holmes/common/utils/MSBRegisterUtil.java @@ -67,6 +67,7 @@ public class MSBRegisterUtil { Thread.sleep(second);
} catch (InterruptedException error) {
log.error("thread sleep error.errorMsg:" + error.getMessage(), error);
+ Thread.currentThread().interrupt();
}
log.info("sleep end .");
}
|