mirror of
https://github.com/ZeroTier/ZeroTierOne
synced 2025-07-07 13:31:45 -07:00
wire up some controller stats
This commit is contained in:
parent
9b5b94b515
commit
fb0d98b324
3 changed files with 49 additions and 8 deletions
|
@ -705,6 +705,8 @@ void PostgreSQL::initializeNetworks()
|
|||
}
|
||||
}
|
||||
|
||||
_network_count++;
|
||||
|
||||
_networkChanged(empty, config, false);
|
||||
|
||||
auto end = std::chrono::high_resolution_clock::now();
|
||||
|
@ -720,7 +722,6 @@ void PostgreSQL::initializeNetworks()
|
|||
fprintf(stderr, "Took %llu us per network to load\n", (total/count));
|
||||
}
|
||||
stream.complete();
|
||||
_network_count = count;
|
||||
|
||||
w.commit();
|
||||
_pool->unborrow(c2);
|
||||
|
@ -926,6 +927,8 @@ void PostgreSQL::initializeMembers()
|
|||
}
|
||||
}
|
||||
|
||||
_member_count++;
|
||||
|
||||
_memberChanged(empty, config, false);
|
||||
|
||||
memberId = "";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue