-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple executions for a single job. #28
Comments
I believe the problematic or curious line is:
Why should the storage connection fetch a job that's already been fetched? Or why are jobs not really dequeued here? UpdateStill digging through; looks like Hangfire only dequeues after the job has completed processing. So you may have jobs that continue processing longer than |
Same problem referenced here: HangfireIO/Hangfire#1197 |
Hi, |
Hi, |
Why would we want to retrieve a job that's currently being processed by a different UpdateLooks like this is partially the answer: HangfireIO/Hangfire#936 (comment) |
We no longer have the FetchNextJobTimeout property in version 1.7 (memory storage 1.4), I don't know what to do |
Please see: HangfireIO/Hangfire#1025 (comment)
Doesn't seem memory storage is actually dequeuing the job or marking it as dequeued (I don't know what the correct behavior should be).
Results
One job enqueue results in multiple worker executions. It's even worse if
FetchNextJobTimeout
is reduced further. I'm not sure whether this is a problem with Hangfire, MemoryStorage, or both.The text was updated successfully, but these errors were encountered: