How to cancel tasks in a Google App Engine task queue from within your code -
I am working on a GAE app that will take a comma separated list and make a batch work from it. I want to add a task to the work queue from any one batch work in a certain time. The problem with this is that if a task can not be executed then it will only retain and the rest of the work will never be added to the queue. Can I kill a task in the queue in any way from within my code if it is executed many times?
There is an HTTP header for the tasks named "X-AppEngine-TaskRetryCount", which you will try again Tells the count. If exceeds a certain limit, then get out of work.
Comments
Post a Comment