[MM-58159] Add admin setting for notification monitoring alongside feature flag (#26979)
* [MM-58159] Add admin setting for notification monitoring alongside feature flag * Use helper function
Этот коммит содержится в:
коммит произвёл
GitHub
родитель
f111db5fe8
Коммит
d6a8ad0d55
@@ -135,7 +135,7 @@ func incrementWebsocketCounter(wc *platform.WebConn) {
|
||||
return
|
||||
}
|
||||
|
||||
if !wc.Platform.Config().FeatureFlags.NotificationMonitoring {
|
||||
if !(wc.Platform.Config().FeatureFlags.NotificationMonitoring && *wc.Platform.Config().MetricsSettings.EnableNotificationMetrics) {
|
||||
return
|
||||
}
|
||||
|
||||
|
||||
Ссылка в новой задаче
Block a user