The reason for this is because appengine retries the task if it returns an error...
One way to work around this is to put the email sending in a try/ except clause so that if it does get an error it would not still return okay. And, at the same time, you can do whatever you want to process the error. On Apr 1, 1:24 pm, GAEfan <[email protected]> wrote: > This just happened to me... I sent a single email to the taskqueue. > I received this twice: > > "DeadlineExceededError: The API call mail.Send() took too long to > respond and was cancelled." > > error. However, the same email was sent 3 times, successfully. > That's bad enough, but I would hate to have it send a few thousand > times! > > Could this have anything to do with the new queue limit of 50/second? > Should a mail queue be set to a smaller number? > > queue: > - name: mail-queue > rate: 50/s > bucket_size: 10 -- 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.
