HangfireIO / HangfireIO/Hangfire
Increase the recurring job polling interval for hangfire and enabling/disabling the recurring job process
- Dominant language
- C#
- Stars
- 10.1k
- Forks
- 1.8k
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 1
Description
I am trying to create a background processor windows service using hangfire.
I would like to increase the recurring job polling interval to more than 1 minute(hard-coded by default). The reason for doing the same is that recurring polling can affect the performance of the database.
Is there a possibility to enable/disable the hangfire recurring Job feature. This is required in case there are multiple instances of the service installed.
The multiple instances of the service polling the database is also a performance issue
I had tried making changes to the Hangfire.Core to make the polling interval configurable. i have attached the code snips with the issue




Contributor guide
Research direction
Start in Hangfire.Core and review the attached changes around BackgroundJobServerOptions, the background job server, and the recurring job scheduler. Determine the intended configuration for the polling interval and recurring-job enablement, then verify that both behaviors work for multiple service instances.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100