[Zope] script execution timeout?

2000-10-03 Thread Júlio Dinis Silva
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

Re: [Zope] script execution timeout?

2000-10-03 Thread seb
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

Re: [Zope] script execution timeout?

2000-10-03 Thread Dieter Maurer
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,