Skip to content

Commit

Permalink
Merge pull request #719 from Nowaker/patch-1
Browse files Browse the repository at this point in the history
Update README.md
  • Loading branch information
albus522 committed Oct 5, 2014
2 parents a4c3d65 + 946bc58 commit c85a4fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@ create_table :delayed_jobs, :force => true do |table|
end
```

On failure, the job is scheduled again in 5 seconds + N ** 4, where N is the number of retries.
On error, the job is scheduled again in 5 seconds + N ** 4, where N is the number of retries.

The default `Worker.max_attempts` is 25. After this, the job either deleted (default), or left in the database with "failed_at" set.
With the default of 25 attempts, the last retry will be 20 days later, with the last interval being almost 100 hours.
Expand Down

0 comments on commit c85a4fe

Please sign in to comment.