Hi! Is there a way to have a ZOPE method (called, for example, via a TALES expression) time out after a specific (changeable!) amount of time? TIA, Ole
I've never heard of a way. I think the external python app you have has to try to import timeoutsocket and in that you need to set the timeout time. Perhaps you can make this varying and not just on the import. If you in have a standard type python 2.3 installation, this should be installed already for you otherwise you'll have to go digging on the net. On 6/26/05, Jan-Ole Esleben <esleben@gmail.com> wrote:
Hi!
Is there a way to have a ZOPE method (called, for example, via a TALES expression) time out after a specific (changeable!) amount of time?
TIA, Ole _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
-- Peter Bengtsson, work www.fry-it.com home www.peterbe.com hobby www.issuetrackerproduct.com
Jan-Ole Esleben wrote at 2005-6-26 15:36 +0200:
Is there a way to have a ZOPE method (called, for example, via a TALES expression) time out after a specific (changeable!) amount of time?
There is, if you program it... Your method must check the timeout itself... -- Dieter
participants (3)
-
Dieter Maurer -
Jan-Ole Esleben -
Peter Bengtsson