Skip to content
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

Hangfire stops processing when storage outage was too long #335

Closed
odinserj opened this issue Apr 9, 2015 · 0 comments
Closed

Hangfire stops processing when storage outage was too long #335

odinserj opened this issue Apr 9, 2015 · 0 comments
Labels
Milestone

Comments

@odinserj
Copy link
Member

odinserj commented Apr 9, 2015

Hangfire Server handles storage outages by catching exceptions, log them and use retry logic with exponential/random delay to repair automatically after some time. Since I don't like to have infinite loops, I've limited retry attempts count (max 10 retries). However, this means that DevOps team should always repair Hangfire storage in less than ~5 minutes. Or processing will be stopped, and you'll have to restart Hangfire Server manually.

So in this place it is better to have infinite number of attempts (at least by default) and have maximum delay set to a suitable value (to prevent very long delays).

@odinserj odinserj added the t: bug label Apr 9, 2015
@odinserj odinserj added this to the 1.3.5 milestone Apr 9, 2015
odinserj added a commit that referenced this issue Apr 9, 2015
@odinserj odinserj modified the milestones: 1.4.0, 1.3.5 Apr 9, 2015
@odinserj odinserj closed this as completed Apr 9, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

No branches or pull requests

1 participant