If the taskqueue was running every task twice, other people would
probably post issues as well.  What status code do your tasks return?
Have you added some logging to your tasks for non-error paths so you
can make sure they are running as expected?




Robert





On Sat, Mar 5, 2011 at 11:12, GAEfan <ken...@gmail.com> wrote:
> For the past several weeks, every email we have been sending
> programatically via the Taskqueue is getting sent twice.  What would
> cause this?
>
> In the task, the send() is put in a try statement for fail-safety:
>
> try:    ## put in a try, because the taskqueue retries after a
> DeadlineExceededError, causing multiple sends
>    message.send()
> except Exception, e:
>    logging.error( str(e) + ', %s, %s' % (to, body) )
>
> We have marked the body with a timestamp for testing, and the
> duplicate emails have the same exact timestamp, indicating that the
> issue is in the taskqueue, and not duplication in our scripts.
>
> Thank you.
>
> --
> You received this message because you are subscribed to the Google Groups 
> "Google App Engine" group.
> To post to this group, send email to google-appengine@googlegroups.com.
> To unsubscribe from this group, send email to 
> google-appengine+unsubscr...@googlegroups.com.
> For more options, visit this group at 
> http://groups.google.com/group/google-appengine?hl=en.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to