Skip to content

Commit

Permalink
Merge branch 'hotfix-6.2.2'
Browse files Browse the repository at this point in the history
  • Loading branch information
SimonCropp committed Aug 11, 2015
2 parents cfc1629 + 823918a commit 1be12eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/NServiceBus.NHibernate/Outbox/NHibernateOutboxStorage.cs
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ protected override void OnStart()
}
else
{
if (TimeSpan.TryParse(configValue, out timeToKeepDeduplicationData))
if (!TimeSpan.TryParse(configValue, out timeToKeepDeduplicationData))
{
throw new Exception("Invalid value in \"NServiceBus/Outbox/NHibernate/TimeToKeepDeduplicationData\" AppSetting. Please ensure it is a TimeSpan.");
}
Expand All @@ -69,7 +69,7 @@ protected override void OnStart()
}
else
{
if (TimeSpan.TryParse(configValue, out frequencyToRunDeduplicationDataCleanup))
if (!TimeSpan.TryParse(configValue, out frequencyToRunDeduplicationDataCleanup))
{
throw new Exception("Invalid value in \"NServiceBus/Outbox/NHibernate/FrequencyToRunDeduplicationDataCleanup\" AppSetting. Please ensure it is a TimeSpan.");
}
Expand Down

0 comments on commit 1be12eb

Please sign in to comment.