Skip to content

Commit

Permalink
JobExpirationCheckInterval now defaults to 30 minutes
Browse files Browse the repository at this point in the history
With the new ExpirationManager implementation, Hangfire now uses much
less queries to perform the cleanup, so we can decrease the expiration
checking interval.
  • Loading branch information
odinserj committed Aug 5, 2016
1 parent c9475cc commit ecb3341
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Hangfire.SqlServer/SqlServerStorageOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public SqlServerStorageOptions()
#pragma warning disable 618
InvisibilityTimeout = TimeSpan.FromMinutes(30);
#pragma warning restore 618
JobExpirationCheckInterval = TimeSpan.FromHours(1);
JobExpirationCheckInterval = TimeSpan.FromMinutes(30);
CountersAggregateInterval = TimeSpan.FromMinutes(5);
PrepareSchemaIfNecessary = true;
DashboardJobListLimit = 50000;
Expand Down

0 comments on commit ecb3341

Please sign in to comment.