Even though your code returns, the request itself does not return until all
pending async requests complete (or timeout).
Jeff
On Thu, Jul 14, 2011 at 5:14 PM, Pol i...@pol-online.net wrote:
Hi,
I was wondering, if you start an async urlfetch (or even an async db
operation) but don't wait for it to complete before returning from the
handler, what happens? Is the async operation cancelled mid-course or
does it complete normally, except no callback is called to indicate
success or failure?
I'm specifically asking because I have to ping an external URL at the
end of some of the handlers but I don't care about the result of
urlfetch (as long as the HTTP GET request was sent to the remote
server that's fine). Being able to have a fire forget approach on
this request would save ~100ms.
Thanks,
- Pol
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.
--
You received this message because you are subscribed to the Google Groups
Google App Engine group.
To post to this group, send email to google-appengine@googlegroups.com.
To unsubscribe from this group, send email to
google-appengine+unsubscr...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.