[Zope] timeout, thread, and external connections

Dieter Maurer dieter@handshake.de
Sun, 5 May 2002 22:25:50 +0200


Warnes, Gregory R writes:
 > ...
 > Now, I want to the connection to the external process to 'timeout' after a
 > period of inactivity
I would not worry about my own timeouts or my own process management
but delegate that to the ZODB.

   When you assign a process wrapper for your process to a "_v_" attribute,
   then the wrapper instance is destroyed when the objects is flushed
   from the ZODB cache. This would be a good time to kill the process.


Dieter