Skip to content

Commit

Permalink
Release 0.2.3, added priority to stats output
Browse files Browse the repository at this point in the history
  • Loading branch information
gshively11 committed Nov 10, 2017
1 parent ac6ca03 commit 300f045
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 1 deletion.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 0.2.3 (November 10th, 2017)

## Features

- Added priority to stats output.

# 0.2.2 (November 9th, 2017)

## Bug Fixes
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "mssql-pool-party",
"version": "0.2.2",
"version": "0.2.3",
"description": "Extension of mssql that provides management of multiple connection pools, dsns, retries, and more",
"main": "dist/index.js",
"files": [
Expand Down
4 changes: 4 additions & 0 deletions src/pool-stats.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,9 @@ export default function poolStats(pool) {
healCount,
retryCount,
} = pool;
const {
priority,
} = pool.dsn;
const {
connecting,
connected,
Expand Down Expand Up @@ -46,6 +49,7 @@ export default function poolStats(pool) {
server,
database,
id,
priority,
createdAt,
driver,
port,
Expand Down

0 comments on commit 300f045

Please sign in to comment.