Nick,

Thanks.

>Any cleanup registered on the child pool will run when the child quits,

if that's any use to you.

This won't work for me (child usually serves many connection).

Register a cleanup on the connection pool.

Got it. This will work.

Connection uses context pool and I thought initially, that it will be cleaned only when some subsequent connection will be made. However, I double check it now and It will be cleaned immediately when worker will start waiting on next established connection.

Regards,
Victor

On 1/12/11 3:13 PM, Nick Kew wrote:
On Wed, 12 Jan 2011 14:49:53 -0500
Victor Ronin<[email protected]>  wrote:

Hi,

I need to write a module, which does something at the  beginning and at
the end of each connection.
Register a cleanup on the connection pool.


Reply via email to