|
|
@ -124,7 +124,7 @@ public class SensitiveWordsConfig {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
TimeUnit.SECONDS.sleep(UPDATE_TIME_SECONDS);
|
|
|
|
TimeUnit.SECONDS.sleep(UPDATE_TIME_SECONDS);
|
|
|
|
log.debug("SensitiveWordConfig#startScheduledUpdate start update...");
|
|
|
|
log.debug("SensitiveWordConfig#startScheduledUpdate start update...");
|
|
|
|
loadSensitiveWords();
|
|
|
|
loadSensWords();
|
|
|
|
storeSensWords();
|
|
|
|
storeSensWords();
|
|
|
|
} catch (InterruptedException e) {
|
|
|
|
} catch (InterruptedException e) {
|
|
|
|
log.error("SensitiveWordConfig#startScheduledUpdate interrupted: {}", e.getMessage());
|
|
|
|
log.error("SensitiveWordConfig#startScheduledUpdate interrupted: {}", e.getMessage());
|
|
|
|