Skip to content

Commit

Permalink
Updated readme
Browse files Browse the repository at this point in the history
  • Loading branch information
eugenebolshakov authored and bkeepers committed Sep 6, 2010
1 parent 33be987 commit 7a4ed0d
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.textile
Expand Up @@ -169,6 +169,8 @@ make sure your job doesn't exceed this time. You should set this to the longest
By default, it will delete failed jobs (and it always deletes successful jobs). If you want to keep failed jobs, set
Delayed::Worker.destroy_failed_jobs = false. The failed jobs will be marked with non-null failed_at.

By default all jobs are scheduled with priority = 0, which is top priority. You can change this by setting Delayed::Worker.default_priority to something else. Lower numbers have higher priority.

Here is an example of changing job parameters in Rails:

<pre>
Expand Down

0 comments on commit 7a4ed0d

Please sign in to comment.