|
@@ -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();
|
|
|
|
- }
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|