3 messages in com.googlegroups.google-gadgets-api[Google-Gadgets-API] Re: _IG_FetchCon...| From | Sent On | Attachments |
|---|---|---|
| Mitu | 29 Jun 2008 03:24 | |
| Dan (Google Employee) | 30 Jun 2008 11:15 | |
| นายบุญชัย แสงจันทร์ | 02 Jul 2008 08:59 | .jpg |
| Subject: | [Google-Gadgets-API] Re: _IG_FetchContent Timeout when?![]() |
|---|---|
| From: | นายบุญชัย แสงจันทร์ (mrbo...@gmail.com) |
| Date: | 07/02/2008 08:59:49 AM |
| List: | com.googlegroups.google-gadgets-api |
| Attachments: |
2008/7/1, Dan (Google Employee) <api....@google.com>:
Hi Mitu,
_IG_FetchContent does actually timeout, but it doesn't execute the callback function when it does so. I believe the timeout occurs after about 5 seconds. Independently, the proxy that caches data will also timeout, and I believe the timeout is higher (10 seconds?). If your _IG_FetchContent call doesn't return, calling it again with the same URL should return the content if the proxy retrieved it successfully. However, if the proxy has timed out (if you server takes longer than 10 seconds to generate the page), then the _IG_FetchContent call will never return.
I believe the current timeout was set for performance reasons and it's unlikely to support custom timeouts for developers. My suggestion would be to lower the time it takes for the server to generate whatever content you're trying to fetch.
Best, Dan
On Jun 29, 3:24 am, Mitu <mitu...@gmail.com> wrote:
I know that there isn't timeout for _IG_FetchContent, but google's proxy doesn't cache my web when it end the execution so I never retrieve my data. What can I do? Is google planning to set timeout for _IG_FetchContent?
Thanks
-- นายบุญชัย แสงจันทร์ บัตร5110300017642บัญชี2182087938scbบ้าน40หมู่7บางโฉลง บางพลี สมุทรปราการ10540 โทร.023371878-027401697-0806212602
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"iGoogle Developer Forum" group.
To post to this group, send email to Goog...@googlegroups.com
To unsubscribe from this group, send email to
Goog...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/Google-Gadgets-API?hl=en
-~----------~----~----~----~------~----~------~--~---





.jpg