Why does my Google App Engine Mail API calls still result in a DeadlineExceededError despite putting them in a task queue?
问题 I have a Python function that adds a task queue for each email address in my mailing list (thousands each time I mail them). The problem is that, even though each mail was to be sent via execution in a task queue, I still get this dreaded error: DeadlineExceededError: The API call mail.Send() took too long to respond and was cancelled. Any solutions? 回答1: The deadline happens during communication between your GAE instance and the RPC server that handles the mail.Send call. This, in turn,