appengine
appengine copied to clipboard
Soft deadline exceeded
https://cloud.google.com/appengine/articles/deadlineexceedederrors describes how in Java and Python it is possible to recover from a deadline exceeded error and get 1 second to perform some cleanup.
I can see no trace of any support for this in the docs or in the code byt is this possible using AppEngine and go?
I understand that it would be hard or even impossible to get such an error for a route that does time.Sleep(60*time.Minute) but it would be nice if an outgoing http request using urlfetch returned a deadline exceeded error one second before the request's hard limit is reached.