mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-04-16 12:06:55 +02:00
identify controller in pool stats
This commit is contained in:
parent
57c1d96b71
commit
16ff14bda7
1 changed files with 2 additions and 2 deletions
|
@ -1393,8 +1393,8 @@ void PostgreSQL::onlineNotification_Postgres()
|
|||
_pool->unborrow(c);
|
||||
|
||||
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));
|
||||
fprintf(stderr, "%s pool stats: in use size: %llu, available size: %llu, total: %llu\n",
|
||||
_myAddressStr.c_str(), stats.borrowed_size, stats.pool_size, (stats.borrowed_size + stats.pool_size));
|
||||
|
||||
std::this_thread::sleep_for(std::chrono::seconds(10));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue