forked from TheOdinProject/theodinproject
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add database_connection_pool stats to
GoodJob::Process.current_state
(
TheOdinProject#1019) * Add connection_pool stats to `GoodJob::Process.current_stat` This commit adds snapshot of database connection pool to a `GoodJob::Process.current_stat` method. * `size` - Total capacity of connection pool * `active` - Number of connections in the pool that are in_use/active * Rename `database_connection_pool` and add simple test --------- Co-authored-by: Ben Sheldon [he/him] <bensheldon@gmail.com>
- Loading branch information
1 parent
573ec04
commit bbf5d22
Showing
2 changed files
with
15 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters