Skip to content

Commit

Permalink
Reverted the info message to 'debug' level
Browse files Browse the repository at this point in the history
  • Loading branch information
trasch committed Apr 20, 2023
1 parent 41bf65d commit 237cabb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ A simple connection pool on top of PostgresNIO.

```swift
dependencies: [
.package(url: "https://github.com/Outdooractive/PostgresConnectionPool.git", from: "0.3.1"),
.package(url: "https://github.com/Outdooractive/PostgresConnectionPool.git", from: "0.3.2"),
],
targets: [
.target(name: "MyTarget", dependencies: [
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public actor PostgresConnectionPool {
// TODO: Kill self if too many stuck connections

let usageCounter = connections.reduce(0) { $0 + $1.usageCounter }
logger.info("[\(poolName)] \(connections.count) connections (\(available.count) available, \(usageCounter) queries), \(continuations.count) continuations left")
logger.debug("[\(poolName)] \(connections.count) connections (\(available.count) available, \(usageCounter) queries), \(continuations.count) continuations left")

// Check for waiting continuations and open a new connection if possible
if connections.count < poolSize,
Expand Down

0 comments on commit 237cabb

Please sign in to comment.