Google App Engine Task Queue Retry

50 views
Skip to first unread message

Sam via StackOverflow

unread,
Mar 5, 2013, 11:13:11 AM3/5/13
to google-appengin...@googlegroups.com

Is there a way to disable the retry options for tasks that failed? Its not possible to do this in queue.yaml

retry_parameters:
    task_retry_limit: 0

Is there any other option to disable retries?



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/4640342/google-app-engine-task-queue-retry

Nick Johnson via StackOverflow

unread,
Mar 5, 2013, 11:13:13 AM3/5/13
to google-appengin...@googlegroups.com

If setting task_retry_limit to 0, you can try checking for the task queue header X-AppEngine-TaskRetryCount, and aborting if it's non-zero.



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/4640342/google-app-engine-task-queue-retry/4653458#4653458

danmux via StackOverflow

unread,
Mar 5, 2013, 11:13:15 AM3/5/13
to google-appengin...@googlegroups.com

In the latest version - 1.4.3 it needs to be greater than zero

Trying to upload 0 gives you this...

Error 400: --- begin server output --- Invalid queue configuration. Task retry limit must be greater than zero. --- end server output ---



Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/4640342/google-app-engine-task-queue-retry/5538978#5538978

wodow via StackOverflow

unread,
Mar 5, 2013, 11:13:17 AM3/5/13
to google-appengin...@googlegroups.com

Setting task_retry_limit to zero appears to be allowed as of SDK version 1.7.5.

The following queue.yaml was accepted:

queue:
- name: default
  rate: 5/s
  retry_parameters:
    task_retry_limit: 0


Please DO NOT REPLY directly to this email but go to StackOverflow:
http://stackoverflow.com/questions/4640342/google-app-engine-task-queue-retry/15228562#15228562

wodow via StackOverflow

unread,
Mar 5, 2013, 11:33:18 AM3/5/13
to google-appengin...@googlegroups.com

Setting task_retry_limit to zero appears to be allowed as of SDK version 1.7.5.

The following queue.yaml was accepted:

queue:
- name: default
  rate: 5/s
  retry_parameters:
    task_retry_limit: 0

However, it is not obeyed.

See also Google App Engine: task_retry_limit doesn't work?

Reply all
Reply to author
Forward
0 new messages