appengine runs failed tasks twice even if task_retry_limit=0
问题 I'm seeing a buggy behaviour in taskqueue API. When a task fails, appengine always runs it once again, even if I tell it not to. This is the relevant code: NO_RETRY = TaskRetryOptions(task_retry_limit=0) class EnqueueTaskDapau(webapp2.RequestHandler): def get(self): taskqueue.add( url='/task_dapau', queue_name='DEFAULT', retry_options=NO_RETRY ) class TaskDapau(webapp2.RequestHandler): def get(self): logging.warning('Vai dar pau') raise BaseException('Deu pau :-)') def post(self): return self