You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am setting JobExpirationCheckInterval to 1 day but i have no control about when it will run exactly
Is it possible to run this routine daily at 3am? It appears to run on random hours. Does it consider 1 day after the start of the aplication to decide at what time it will run?
I am having issues with a big database full of jobs, and sometimes when it starts my aplication is unable to enqueue jobs due to locks on the SQLServer [Hangfire].Job table.
The text was updated successfully, but these errors were encountered:
var options = new SqlServerStorageOptions
{
CommandBatchMaxTimeout = TimeSpan.FromMinutes(21),
SlidingInvisibilityTimeout = TimeSpan.FromMinutes(5),
QueuePollInterval = TimeSpan.Zero,
UseRecommendedIsolationLevel = true,
DisableGlobalLocks = true,
SqlClientFactory = SqlClientFactory.Instance,
PrepareSchemaIfNecessary = true,
EnableHeavyMigrations = false,
DeleteExpiredBatchSize = 1000,
TryAutoDetectSchemaDependentOptions = true,
JobExpirationCheckInterval = TimeSpan.FromDays(1)
};
I am setting JobExpirationCheckInterval to 1 day but i have no control about when it will run exactly
Is it possible to run this routine daily at 3am? It appears to run on random hours. Does it consider 1 day after the start of the aplication to decide at what time it will run?
I am having issues with a big database full of jobs, and sometimes when it starts my aplication is unable to enqueue jobs due to locks on the SQLServer [Hangfire].Job table.
The text was updated successfully, but these errors were encountered: