google app engine - SocketTimeoutException at 5 seconds - Any way to increase? -
the server i'm hitting responding @ 5.5 seconds regularly i'm getting sockettimeoutexception @ 5 seconds even. there way increase value? upgrading paid tier allow me ability?
see https://developers.google.com/appengine/docs/java/urlfetch/#fetching_urls_with_java_net
in particular
you can set deadline request, amount of time service wait response. default, deadline fetch 5 seconds. maximum deadline 60 seconds http requests , 10 minutes task queue , cron job requests. when using urlconnection interface, service uses connection timeout (setconnecttimeout()) plus read timeout (setreadtimeout()) deadline.
Comments
Post a Comment