去除失效的配置,增加人物结束时移除人物缓存

This commit is contained in:
648540858 2022-07-11 16:41:32 +08:00
parent afbec28906
commit 1a1a68784b
2 changed files with 2 additions and 7 deletions

View File

@ -103,12 +103,9 @@ public class DynamicTask {
public void stop(String key) {
if (futureMap.get(key) != null && !futureMap.get(key).isCancelled()) {
// Runnable runnable = runnableMap.get(key);
// if (runnable instanceof ISubscribeTask) {
// ISubscribeTask subscribeTask = (ISubscribeTask) runnable;
// subscribeTask.stop();
// }
futureMap.get(key).cancel(false);
futureMap.remove(key);
runnableMap.remove(key);
}
}

View File

@ -185,8 +185,6 @@ user-settings:
record-sip: true
# 是否将日志存储进数据库
logInDatebase: true
# 第三方匹配用于从stream钟获取有效信息
thirdPartyGBIdReg: "[\\s\\S]*"
# 在线文档: swagger-ui生产环境建议关闭
swagger-ui: