-
Notifications
You must be signed in to change notification settings - Fork 21
Open
Description
When a job fails currently, it has a backoff of 2^count seconds.
rickover/services/status_callback.go
Line 88 in dba4e9a
| return time.Now().UTC().Add(time.Duration(math.Pow(2, float64(backoff))) * time.Second) |
Sometimes it's useful to wait much longer, like 30 seconds between runs.
It would be nice if the base (2) were variable per job in the database. For example, setting it to 5 would make the backoff be 5s, 25s, 125s, etc.
(Maybe the ^count exponent should also be variable? But that would be harder to implement and probably not necessary.)
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels