HangfireIO / HangfireIO/Hangfire

Backoff, Jitter and retries

Open
#2,365 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
10.1k
Forks
1.8k
Avg merge
1h 19m
Merged PRs (30d)
1

Description

When using hangfire to fire api calls in the background it would be beneficial to configure the request to not retry 10 times in a row one after the other but introduce some kind of delay or jitter. Is it possible to introduce jitter or delay to the retries currently? Is it possible to this feature request to a backlog?

For me some kind of exponential retries would be super helpful, where it would retry in 2 min then 4 min then 8 min then 16 min then 32 min.

Contributor guide

Open the contributing guide

Research direction

The issue names no files, tests, or entry points. Start by locating Hangfire's retry handling and configuration for background jobs, then determine how delayed, jittered, or exponential schedules should be configured. Done means a request can avoid immediate consecutive retries and use the requested backoff behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
csharp
Domain
backend
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.