wyyay vor 10 Monaten
Ursprung
Commit
2555169bb1

+ 0 - 14
hazard-admin/src/main/java/com/ozs/web/controller/shotschedule/TaskService.java

@@ -83,13 +83,6 @@ public class TaskService {
                     }
                 }
             });
-            try {
-                if(executorService.awaitTermination(60,TimeUnit.SECONDS)){
-                    executorService.shutdown();
-                }
-            } catch (InterruptedException e) {
-                e.printStackTrace();
-            }
         }
     }
 
@@ -128,13 +121,6 @@ public class TaskService {
                     }
                 }
             });
-            try {
-                if(alarmExecutorService.awaitTermination(30,TimeUnit.SECONDS)){
-                    executorService.shutdown();
-                }
-            } catch (InterruptedException e) {
-                e.printStackTrace();
-            }
         }
     }