启动时清除先前注册上级平台的缓存
This commit is contained in:
@@ -33,6 +33,9 @@ public class SipPlatformRunner implements CommandLineRunner {
|
||||
// 设置所有平台离线
|
||||
storager.outlineForAllParentPlatform();
|
||||
|
||||
// 清理所有平台注册缓存
|
||||
redisCatchStorage.cleanPlatformRegisterInfos();
|
||||
|
||||
List<ParentPlatform> parentPlatforms = storager.queryEnableParentPlatformList(true);
|
||||
|
||||
for (ParentPlatform parentPlatform : parentPlatforms) {
|
||||
|
||||
Reference in New Issue
Block a user