Skip to content

Commit

Permalink
Merge pull request #915 from Particular/backport-purge-release-6.3
Browse files Browse the repository at this point in the history
Fix PurgeEnableKey logic in release 6.3
  • Loading branch information
helenktsai authored Oct 26, 2021
2 parents 5f31e2a + f963319 commit 47dab37
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ public override TransportReceiveInfrastructure ConfigureReceiveInfrastructure()

IExpiredMessagesPurger expiredMessagesPurger;
bool validateExpiredIndex;
if (settings.GetOrDefault<bool>(SettingsKeys.PurgeEnableKey))
if (settings.GetOrDefault<bool>(SettingsKeys.PurgeEnableKey) == false)
{
diagnostics.Add("NServiceBus.Transport.SqlServer.ExpiredMessagesPurger", new
{
Expand Down

0 comments on commit 47dab37

Please sign in to comment.