HangfireIO / HangfireIO/Hangfire
Enqueued jobs not completing?
- Dominant language
- C#
- Stars
- 10.1k
- Forks
- 1.8k
- Avg merge
- 1h 19m
- Merged PRs (30d)
- 1
Description
We have multiple sites, each with it's own hangfire database.
Currently, lightweight jobs are taking hours to complete (if they do, not all complete for some reason).
Note: this is a test environment, so builds are done in a daily basis, and sites restarted multiple times a day
My enqueued length currently shows 591 jobs.

I tried restarting the sites and SQL, to see if they are processed, but the number stays the same.
Could that be that the high number of enqueued jobs is related to them taking so long?
I've been going over the hangfire tables in all our sites, and they show a lot of enqueued jobs.
Thanks
Contributor guide
Research direction
No source file, entry point, or test is named. Start by reproducing the report with multiple sites and separate Hangfire databases, checking the enqueued counts and job behavior during site and SQL restarts. Done means identifying the cause of jobs remaining enqueued and documenting or verifying normal completion.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- csharp
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100