How To Solve "process Terminated Because The Request Deadline Was Exceeded. (error Code 123)" In Google Api?
I have a projects deployed on Google App Engine having Google API (Python). Every request to any of API make a database connection , execute a procedure and return data and close t
Solution 1:
Two possible improvements :
- your startup code for instances may take too long, check what is the startup time and if possible use warmup requests to reduce startup times. Since increasing your idle instances seems to help, your startup time may take too long.
- A better approach would be to call external services (e.g. talk to Google Calendar) in a Task Queue outside of the user request scope. This gives you a 10-min deadline instead of the 60s deadline for user requests
Post a Comment for "How To Solve "process Terminated Because The Request Deadline Was Exceeded. (error Code 123)" In Google Api?"