何知谦 пре 4 година
родитељ
комит
ea947494ea

+ 1 - 2
PaasMonitor-server/src/main/java/com/nju/edu/paasMonitorServer/alert/process/watcher/Watcher.java

@@ -22,7 +22,7 @@ import java.util.concurrent.TimeUnit;
 @Slf4j
 public class Watcher implements Runnable {
     private static final int PERIOD = 60000;
-    private static final int INITIAL_DELAY = 3000;
+    private static final int INITIAL_DELAY = 10000;
     private final ConfigDao configDao;
     private final CallChecker callChecker;
     private final ErrorChecker errorChecker;
@@ -45,7 +45,6 @@ public class Watcher implements Runnable {
         ScheduledExecutorService schedule = Executors.newSingleThreadScheduledExecutor();
         schedule.scheduleAtFixedRate(this, INITIAL_DELAY, PERIOD, TimeUnit.MILLISECONDS);
     }
-
     @Override
     public void run() {
         try {