|
|
@@ -135,9 +135,9 @@ public class LicenseFilter implements GlobalFilter, Ordered, InitializingBean, D
|
|
|
while (checkSysLocked()) {
|
|
|
try {
|
|
|
Thread.sleep(Duration.ofMinutes(STEP).toMillis());
|
|
|
- } catch (InterruptedException e) {// NOSONAR
|
|
|
+ } catch (InterruptedException e) {
|
|
|
log.error(e.getMessage(), e);
|
|
|
- break;
|
|
|
+ Thread.currentThread().interrupt();
|
|
|
}
|
|
|
}
|
|
|
threadPoolTaskExecutor.shutdown();
|