We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 97bb610 commit 294af9dCopy full SHA for 294af9d
postgresql/src/storages/postgres/detail/pool.cpp
@@ -558,9 +558,12 @@ Connection* ConnectionPool::Pop(engine::Deadline deadline) {
558
559
++stats_.pool_exhaust_errors;
560
throw PoolError(
561
- fmt::format("No available connections found. Active {}. Open {}. Max {}",
562
- stats_.connection.active, stats_.connection.open_total,
563
- stats_.connection.maximum),
+ fmt::format(
+ "No available connections found. Connecting: {}. Max concurrent "
+ "connecting: {}. Active: {}. Max active {}",
564
+ connecting_semaphore_.UsedApprox(),
565
+ connecting_semaphore_.GetCapacity(), size_semaphore_.UsedApprox(),
566
+ size_semaphore_.GetCapacity()),
567
db_name_);
568
}
569
0 commit comments