Exact mechanics of time limits during Google App Engine Python's urlfetch? -


i have http request in code takes ~5-10 s run. through searching site, i've found code increase limit before timeout:

from google.appengine.api import urlfetch urlfetch.set_default_fetch_deadline(60) 

my question: number '60'? seconds or tenths of second? responses seem imply it's seconds, can't right. when use 60, time out in less 10 s while testing on localhost. have set number @ least 100 avoid issue - worry invoke ire of google gods.

it's seconds, can passed in fetch function. have tried fetch website? sure it's timeout not error? https://developers.google.com/appengine/docs/python/urlfetch/fetchfunction


Comments

Popular posts from this blog

c# - Send Image in Json : 400 Bad request -

javascript - addthis share facebook and google+ url -

ios - Show keyboard with UITextField in the input accessory view -