-
Notifications
You must be signed in to change notification settings - Fork 28
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
Add ability to gets all active connections to the database. #31
Add ability to gets all active connections to the database. #31
Conversation
I'll be pushing an update to this tomorrow morning and adding a screenshot too. |
395bf97
to
2b5f661
Compare
I am done pushing changes to this PR. |
test/ecto_psql_extras_test.exs
Outdated
@@ -13,7 +13,7 @@ defmodule EctoPSQLExtrasTest do | |||
outliers_legacy: EctoPSQLExtras.OutliersLegacy | |||
} | |||
|
|||
@skip_queries [:kill_all] | |||
@skip_queries [:kill_all, :connections] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why do you skip it in the test?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This used to be just a count. Looking into adding a test now.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I removed it in the latest push.
This adds the ability to get all active connections to the database. Co-authored-by: Matt Hall <matt.hall@binarynoggin.com>
2b5f661
to
f807147
Compare
Good Day, since I'm able to see the active connections. Is it possible to closed a connection whether its busy or not |
This adds the ability to get all active connections to the database.