MM-25700 : Use a counting semaphore for push notifications hub (#14758)
Automatic Merge
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
b317ee5cf2
Коммит
1d9c8a490d
@@ -70,7 +70,6 @@ func (a *App) InitServer() {
|
||||
a.notification = a.srv.Notification
|
||||
a.saml = a.srv.Saml
|
||||
|
||||
a.StartPushNotificationsHubWorkers()
|
||||
a.AddConfigListener(func(oldConfig *model.Config, newConfig *model.Config) {
|
||||
if *oldConfig.GuestAccountsSettings.Enable && !*newConfig.GuestAccountsSettings.Enable {
|
||||
if appErr := a.DeactivateGuests(); appErr != nil {
|
||||
|
||||
Ссылка в новой задаче
Block a user