In shindig.properties there is a timeout setting that the BasicHttpFetcher 
uses: shindig.http.client.connection-timeout-ms It's default value is 
5000ms.

If you are building Shindig from source you can simply change the value 
yourself and rebuild.  If you are not building from source, you need to 
create your own PropertiesModule implementation and inject that via guice 
through the web.xml.  Look at org.apache.shindig.commons.PropertiesModule.

Best regards,
-Stanton



From:   Zhenpeng Zhao <[email protected]>
To:     [email protected], 
Date:   07/14/2011 16:02
Subject:        time out for gadget.io.makerequest



Hi,


I am a student of  from Purdue doing gwt gadget development.

I have a problem with the opensocial API: (gadget.io.makerequest) 
function. The gadget I am building needs this function to send the 
request, but it times out after 5s, while some of my response takes at 
least 8s.

This results that I can not have the correct response even if  the request 
is successful.

Do you know if there is any way I can configure the time out limit?


Thanks a lot 



Reply via email to