优化服务监控定时器,移除notify功能包

This commit is contained in:
孟帅
2023-08-07 17:58:24 +08:00
parent 3df5236623
commit 90d09deeff
88 changed files with 415 additions and 723 deletions

View File

@@ -32,9 +32,6 @@ func SubscribeMap(channels map[string]SubHandler) (err error) {
return
}
subscribes.mutex.Lock()
defer subscribes.mutex.Unlock()
for channel, hr := range channels {
if err = Subscribe(channel, hr); err != nil {
return