On Wed, Jul 17, 2013 at 6:21 PM, Jonathan Twomley <
[email protected]> wrote:

> Is this a valid statement of Task Queue in GAE "In some cases, a single
> task may be executed more than once or not at all."
>

It's true that a task may be executed more than once (it says so in the
documentation).

It's very unlikely that a task will not be enqueued. It's certainly
possible (I've had it happen to me a handful of times), but it's very rare
and you shouldn't be experiencing it so often. Can you post a code example
of what you're doing? Perhaps the code itself is not queuing the tasks you
think it is.

Alternatively, what you can try is running an occasional cron process to
pick up any tasks that fell through the cracks. For instance, run a process
that checks to see if "was_enqueued == true" and "was_run_at_all == false"
(assuming that you can record successful completion).

-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to