views:

52

answers:

1

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?

+5  A: 

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.

Wooble