Skip to content

Change check in interval as config option #1331

Answered by lahma
CodemanCodes asked this question in Ideas
Discussion options

You must be logged in to vote

What you observe as hard-coded value is actually a configurable one. Quartz can inject values based on writable properties and in this casse the default can be overridden with a property:

quartz.jobStore.clusterCheckinInterval = 20000

Or with DI configuration:

q.UsePersistentStore(s =>
{
     // your code configuring
    s.UseClustering(c =>
    {
        c.CheckinInterval = TimeSpan.FromSeconds(20);
    });
});

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@CodemanCodes
Comment options

Answer selected by CodemanCodes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Ideas
Labels
None yet
2 participants