public
Created

time distance for delayed_jobs for failed jobs

  • Download Gist
gistfile1.txt
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51
delayed_job , by default, makes 25 attempts to execute the failed job at increasing time distance.
 
1st attempt : less than a minute
 
2nd attempt : less than a minute
 
3rd attempt : 1 minute
 
4th attempt : 4 minutes
 
5th attempt : 11 minutes
 
6th attempt : 22 minutes
 
7th attempt : 40 minutes
 
8th attempt : about 1 hour
 
9th attempt : about 2 hours
 
10th attempt : about 3 hours
 
11th attempt : about 4 hours
 
12th attempt : about 6 hours
 
13th attempt : about 8 hours
 
14th attempt : about 11 hours
 
15th attempt : about 14 hours
 
16th attempt : about 18 hours
 
17th attempt : about 23 hours
 
18th attempt : 1 day
 
19th attempt : 1 day
 
20th attempt : 2 days
 
21st attempt : 2 days
 
22nd attempt : 3 days
 
23rd attempt : 3 days
 
24th attempt : 4 days
 
25th attempt : 5 days

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.