8000 fix bug that connections didn't release by paramiao · Pull Request #67 · bitly/asyncmongo · GitHub
[go: up one dir, main page]

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

fix bug that connections didn't release #67

Open
paramiao wants to merge 1 commit intobitly:masterfrom
paramiao:fix-autoreload-bug
Open

fix bug that connections didn't release #67
paramiao wants to merge 1 commit intobitly:masterfrom
paramiao:fix-autoreload-bug

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

0