It could be useful for somebody else, so here's a possible solution:
http://opensourcehacker.com/2011/08/02/ajax-proxy-view-with-python-urllib-and-plone/

Checkout the "socket.setdefaulttimeout(10)" section.
It's not a great solution (as pointed out by ajung) but it works, and the
finally block restores always the original timeout.

Thank you guys,
Marco

--
View this message in context: 
http://plone.293351.n2.nabble.com/Timeout-decorator-on-external-service-call-tp7063682p7071738.html
Sent from the Product Developers mailing list archive at Nabble.com.
_______________________________________________
Product-Developers mailing list
[email protected]
https://lists.plone.org/mailman/listinfo/plone-product-developers

Reply via email to