=?ISO-8859-1?Q?J=FAlio?= Dinis Silva writes:
> Is there a place to define a script execution timeout?
I do not think so.
> 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?
There is a patch to Python's "httplib" providing
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 ZServ
> 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
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 Yo