[mod_python] execution time limit

Graham Dumpleton grahamd at dscpl.com.au
Tue Jan 9 16:17:56 EST 2007


Michael Rasmussen wrote ..
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> On Tue, 9 Jan 2007 15:52:49 -0500
> "Graham Dumpleton" <grahamd at dscpl.com.au> wrote:
> 
> > 
> > You might explain more about what you are actually trying to do.
> > 
> Could it be an option to have the handler starting a
> threading.Timer(timeout, function) and the delegate handling of
> terminating the current process?

Would only work if prefork MPM was being used, can't work if using worker MPM
or Windows.

Graham


More information about the Mod_python mailing list