From 946bc5881fe17d08c236054b42a3d419931bb658 Mon Sep 17 00:00:00 2001 From: Damian Nowak Date: Sat, 4 Oct 2014 04:51:32 +0200 Subject: [PATCH] Update README.md --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 835e2b475..af9e20587 100644 --- a/README.md +++ b/README.md @@ -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.