Hi Richard,

There's currently no way around the 10 second timeout on the App Engine end.
If you control the external server, though, you could have it do the work
asynchronously and make an HTTP request to you with the results when it
completes.

-Nick Johnson

On Tue, Jun 22, 2010 at 3:45 AM, rpalmer68 <[email protected]>wrote:

> Hi,
>
> I have a GAE app that is using this line;
>
> result = urlfetch.fetch(url=url, payload=encodedParams,
> method=urlfetch.POST, deadline=10);
>
> The problem is that the server/app the GAE app is communicating with
> may have to do some external lookups from another remote databse and
> depending on servr load sometimes the response back to my GAE app can
> be 12 or 15 seconds.  This of course triggers a DownloadError.
>
> Is there any other way of performing the above task without being
> restricted to the 10 second deadline?
>
> Thanks
> Richard
>
> --
> You received this message because you are subscribed to the Google Groups
> "Google App Engine" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected]<google-appengine%[email protected]>
> .
> For more options, visit this group at
> http://groups.google.com/group/google-appengine?hl=en.
>
>


-- 
Nick Johnson, Developer Programs Engineer, App Engine Google Ireland Ltd. ::
Registered in Dublin, Ireland, Registration Number: 368047
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en.

Reply via email to