Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

method for getting ConnectionPool utilization #170

Open
dirkbolte opened this issue Oct 17, 2013 · 3 comments
Open

method for getting ConnectionPool utilization #170

dirkbolte opened this issue Oct 17, 2013 · 3 comments

Comments

@dirkbolte
Copy link

Recently I can in a situation where too many connections where opened, causing the 'pending' connections to stack up more and more. For debugging this, it would have been helpful to have a call printing out the current utilization of the ConnectionPool, e.g.:

def info
  {
    available: @available.count,
    reserved: @reserved.count,
    pending: @pending.count
  }
end
@igrigorik
Copy link
Owner

seems reasonable. patches welcome. :)

info > status perhaps?

@dirkbolte
Copy link
Author

Soon to be delivered :-)

Am 18.10.2013 um 03:57 schrieb Ilya Grigorik notifications@github.com:

seems reasonable. patches welcome. :)


Reply to this email directly or view it on GitHub.

@dirkbolte
Copy link
Author

sorry, did not read your last comment. Will update pull request.

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

No branches or pull requests

2 participants