Grant Limberg 3 年之前
父节点
当前提交
57c1d96b71
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      controller/PostgreSQL.cpp

+ 1 - 1
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));
 	}