Answering 2) and 3) myself...
Make sure your handler returns an http status response of 200. Else,
the task keeps getting executed over and over again, never clearing
out of the queue. Unfortunately, some of the examples given just have
the handler end in:
return
Make sure it ends in something like:
return HttpResponse("Task Executed", mimetype='text/plain')
so that it gives a 200 status, and clears out of the queue. Else, the
task repeats endlessly (like in my case, where it sent a test email
dozens of times, waiting for the 200 confirmation)
******
Still would like an answer to 1):
1) Once you name a queue in queue.yaml, how do you tell "taskqueue.add
()" to use that queue instead of default? What is the syntax?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---