On Fri, Mar 7, 2014 at 3:10 AM, Haisheng HU <[email protected]> wrote:
> What I've tried out includes: > 2) > urlfetch.set_default_fetch_deadline(60) > None of these worked. I always get a timeout exception after 10 seconds. > Your #2 option (set_default_fetch_deadline) should work. Where in the application code are you executing that line? The call has to be done in the same thread as the actual urlfetch call - try setting the fetch deadline just before you use urlfetch, If that doesn't work: can you post the exact exception text you're seeing? ----------------- -Vinny P Technology & Media Advisor Chicago, IL App Engine Code Samples: http://www.learntogoogleit.com -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/google-appengine. For more options, visit https://groups.google.com/d/optout.
