Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Google App Engine, Task Queues

How can I remove a task from a task queue? Is Google App Engine Task Queue removes the task from the queue after it is executed?

like image 734
pocoa Avatar asked Apr 14 '26 13:04

pocoa


2 Answers

The task queue API only specifies a function for adding tasks. It will remove them when they complete.

You can, however, manually remove them using the admin console.

Details: http://code.google.com/appengine/docs/python/taskqueue/overview.html#Managing_Task_Queues

like image 88
David Underhill Avatar answered Apr 16 '26 03:04

David Underhill


A task is removed from the queue when it executes if and only if it returns an HTTP 200 response. For any other response, it will be retried until it successfully executes.

As David's answer indicates, they can also be manually removed.

like image 34
Wooble Avatar answered Apr 16 '26 03:04

Wooble