Skip to content
This repository has been archived by the owner on Nov 5, 2019. It is now read-only.

fix bug that connections didn't release #67

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

paramiao
Copy link

@paramiao paramiao commented Sep 3, 2013

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

@bufferx
Copy link

bufferx commented Sep 6, 2013

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

@paramiao
Copy link
Author

paramiao commented Sep 6, 2013

My solution is add hook method when Tornado autoreload now.

@bufferx
Copy link

bufferx commented Sep 8, 2013

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.

@paramiao
Copy link
Author

paramiao commented Sep 9, 2013

my version is newest , tornado 3.0+

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

2 participants