4 ms·
Good point! Delayed Job actually has an exponential backoff build in. It'll run 25 times, with an increasingly large time between attempts before it gives up.
by dyogenez 11y ago
Good point! Delayed Job actually has an exponential backoff build in. It'll run 25 times, with an increasingly large time between attempts before it gives up.
The issue comes in when it doesn't know a job actually failed, as was the issue in this case. Since the process was `kill -9`'d delayed job wasn't aware the job failed and attempted to run it again as though it was the first attempt.