Browse files

Added retries to the API reference. Fixes #215.

  • Loading branch information...
1 parent c07f3c7 commit 524146e47b7a622501ea8867950f72c4e4db8028 Paddy Foran committed Oct 9, 2012
Showing with 2 additions and 0 deletions.
  1. +2 −0 worker/reference/api/
@@ -281,6 +281,8 @@ The request should be JSON-encoded and contain the following information:
The request also accepts the following optional parameters:
* **max_concurrency**: The maximum number of workers that should be run in parallel. This is useful for keeping your workers from hitting API quotas or overloading databases that are not prepared to handle the highly-concurrent worker environment. If omitted, there will be no limit on the number of concurrent workers.
+* **retries**: The maximum number of times failed tasks should be retried, in the event that there's an error while running them. If omitted, tasks will not be retried. Tasks cannot be retried more than ten times.
+* **retries_delay**: The number of seconds to wait before retries. If omitted, tasks will be immediately retried.
Your request also needs the following headers, in addition to the headers required by all API calls:

0 comments on commit 524146e

Please sign in to comment.