Skip to content

Commit a26c465

Browse files
authored
enable message editing by default
1 parent 4013cb3 commit a26c465

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/ServiceControl/Infrastructure/Settings/Settings.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ public Settings(
5959
ProcessRetryBatchesFrequency = TimeSpan.FromSeconds(30);
6060
MaximumConcurrencyLevel = SettingsReader.Read<int?>(SettingsRootNamespace, "MaximumConcurrencyLevel");
6161
RetryHistoryDepth = SettingsReader.Read(SettingsRootNamespace, "RetryHistoryDepth", 10);
62-
AllowMessageEditing = SettingsReader.Read<bool>(SettingsRootNamespace, "AllowMessageEditing");
62+
AllowMessageEditing = SettingsReader.Read<bool>(SettingsRootNamespace, "AllowMessageEditing", true);
6363
NotificationsFilter = SettingsReader.Read<string>(SettingsRootNamespace, "NotificationsFilter");
6464
RemoteInstances = GetRemoteInstances().ToArray();
6565
TimeToRestartErrorIngestionAfterFailure = GetTimeToRestartErrorIngestionAfterFailure();
@@ -413,4 +413,4 @@ void LoadErrorIngestionSettings()
413413
public const string DEFAULT_INSTANCE_NAME = "Particular.ServiceControl";
414414
public static readonly SettingsRootNamespace SettingsRootNamespace = new("ServiceControl");
415415
}
416-
}
416+
}

0 commit comments

Comments
 (0)