去除失效的配置,增加人物结束时移除人物缓存
This commit is contained in:
parent
afbec28906
commit
1a1a68784b
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -185,8 +185,6 @@ user-settings:
|
||||
record-sip: true
|
||||
# 是否将日志存储进数据库
|
||||
logInDatebase: true
|
||||
# 第三方匹配,用于从stream钟获取有效信息
|
||||
thirdPartyGBIdReg: "[\\s\\S]*"
|
||||
|
||||
# 在线文档: swagger-ui(生产环境建议关闭)
|
||||
swagger-ui:
|
||||
|
Loading…
Reference in New Issue
Block a user