From 57c1d96b71e1e4b0e487b948ee030256c40f3c6d Mon Sep 17 00:00:00 2001 From: Grant Limberg Date: Thu, 2 Sep 2021 12:48:49 -0700 Subject: [PATCH] math --- controller/PostgreSQL.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/PostgreSQL.cpp b/controller/PostgreSQL.cpp index 740a0c307..b26e99084 100644 --- a/controller/PostgreSQL.cpp +++ b/controller/PostgreSQL.cpp @@ -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)); }