My Google App Engine application needs to run a lengthy calculation. Automatic scaling on my module returns DeadlineExceededError
, so I tried switching to manu
Figured it out. I had to add a handler to my module.
I added:
- url: /_ah/start
script: colors.handler.app
to my handlers:
and it worked.
Interesting. I just ran into this issue as well.
When an instance responds to the /_ah/start request with an HTTP status code of 200–299 or 404, it is considered to have successfully started and can handle additional requests. Otherwise, App Engine terminates the instance. Manual scaling instances are restarted immediately, while basic scaling instances are restarted only when needed for serving traffic.