asyncmongo icon indicating copy to clipboard operation
asyncmongo copied to clipboard

fix bug that connections didn't release

Open paramiao opened this issue 11 years ago • 4 comments

when Tornado autoreload, asyncmongo didn't release all connections.

paramiao avatar Sep 03 '13 16:09 paramiao

any other details? don't agree. ConnectionPools.close_idle_connections() will close other client's(or pool) socket when one client object initialization.

bufferx avatar Sep 06 '13 07:09 bufferx

My solution is add hook method when Tornado autoreload now.

paramiao avatar Sep 06 '13 15:09 paramiao

Which version of Tornado you are using? It already added a hook function in autoload module: _close_all_fds, at least in the version 2.3.0.

bufferx avatar Sep 08 '13 06:09 bufferx

my version is newest , tornado 3.0+

paramiao avatar Sep 09 '13 11:09 paramiao