This commit is contained in:
Grant Limberg 2021-09-02 12:48:49 -07:00
parent 40f376e2b9
commit 57c1d96b71
No known key found for this signature in database
GPG Key ID: 2BA62CCABBB4095A

View File

@ -1394,7 +1394,7 @@ void PostgreSQL::onlineNotification_Postgres()
ConnectionPoolStats stats = _pool->get_stats();
fprintf(stderr, "pool stats: in use size: %llu, available size: %llu, total: %llu\n",
stats.borrowed_size, stats.pool_size, (stats.borrowed_size, stats.pool_size));
stats.borrowed_size, stats.pool_size, (stats.borrowed_size + stats.pool_size));
std::this_thread::sleep_for(std::chrono::seconds(10));
}