Hi all,
Is there a place to define a script execution timeout?
I've been using urllib and there is no way to kill a urllib.open
if its taking too long. Does zope has that implemented?
Best Regards,
Júlio Dinis Silva
_
Get
Is there a place to define a script execution timeout?
not in the urllib module.
Try setting an alarm using the signal module, wrapping the GET request
in a try clause, and then setting the alarm to 0 in the finally clause.
seb
___
Zope maillist
seb writes:
Is there a place to define a script execution timeout?
Try setting an alarm using the signal module, wrapping the GET request
in a try clause, and then setting the alarm to 0 in the finally clause.
Be very careful with signals of any kind inside Zope:
I had to patch ZServer,