From Task Queue Python API Overview:
If your task’s execution nears the 30
second limit, App Engine will raise an
exception which you may catch and then
quickly save your work or log process.
Which exception is that?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The exception is
google.appengine.runtime.DeadlineExceededError, the same was with normal web requests. A task running from the queue behaves identically to an ordinary web request, except that the Taskqueue API will reschedule a task that exits with a non-200 response.