Skip to content

Commit d817021

Browse files
committed
Added default info for job attempts to readme.
1 parent 04f01ab commit d817021

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -156,10 +156,11 @@ queue.createJob('job-name-here', {foo: 'bar'}, {
156156
//
157157
// Setting this option to 0 means never timeout.
158158
//
159-
// Defaults to 25000
159+
// Defaults to 25000.
160160
timeout: 30000, // Timeout in 30 seconds
161161

162162
// Number of times to attempt a failing job before marking job as failed and moving on.
163+
// Defaults to 1.
163164
attempts: 4, // If this job fails to process 4 times in a row, it will be marked as failed.
164165

165166
});

0 commit comments

Comments
 (0)