Hi guys,

Can anyone explain the meaning of the CancelledError? I read the
documentation and I must confess that I'm not very sure what triggers
it (at least I don't agree it is "explicitly").

Here is the scenario in which I'm seeing this error:

- I have a set of tasks that are executed

- the tasks are expensive so sometimes they may reach the
DeadlineExceededError

- in case the DeadlineExceededError occurs, I am attempting to create
a new task to signal that processing was not completed and should
continue at a later moment

While I could probably code around this issue, it will definitely make
my app code more messy and complex. Right now things are clear:

- there is a list of objects that must be processed

- once new objects get appended to that list a new task is created for
taking care of them

- if the task cannot empty the list of objects to be processed it is
scheduling a new task to continue the processing later

Any comments, ideas, help are much appreciated,

./.alex

--

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.


Reply via email to