diff --git a/uSync.BackOffice/Configuration/uSyncSettings.cs b/uSync.BackOffice/Configuration/uSyncSettings.cs index 2d37106e..705ab53f 100644 --- a/uSync.BackOffice/Configuration/uSyncSettings.cs +++ b/uSync.BackOffice/Configuration/uSyncSettings.cs @@ -193,7 +193,7 @@ public class uSyncSettings /// use this if you are comfortable with the risks /// [DefaultValue("false")] - public bool DisableNotificationSuppression { get; set; } = false; + public bool EnableNotificationSuppression { get; set; } = false; /// /// trigger all the notifications in a background thread, diff --git a/uSync.BackOffice/Extensions/ScopeExtensions.cs b/uSync.BackOffice/Extensions/ScopeExtensions.cs index 17356139..3d962f32 100644 --- a/uSync.BackOffice/Extensions/ScopeExtensions.cs +++ b/uSync.BackOffice/Extensions/ScopeExtensions.cs @@ -15,9 +15,9 @@ namespace uSync.BackOffice.Extensions; internal static class ScopeExtensions { public static IDisposable SuppressScopeByConfig(this ICoreScope scope, uSyncConfigService configService) - => configService.Settings.DisableNotificationSuppression - ? new DummyDisposable() - : scope.Notifications.Suppress(); + => configService.Settings.EnableNotificationSuppression + ? scope.Notifications.Suppress() + : new DummyDisposable(); public static ICoreScope CreateNotificationScope(