mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-01-18 10:46:33 +00:00
print load status messages a little less often now that things go brrrrrrrrr
This commit is contained in:
parent
3ec23f92ec
commit
d0f4cfe6b4
@ -594,7 +594,7 @@ void PostgreSQL::initializeNetworks()
|
||||
auto dur = std::chrono::duration_cast<std::chrono::microseconds>(end - start);;
|
||||
total += dur.count();
|
||||
++count;
|
||||
if (count % 1000 == 0) {
|
||||
if (count % 10000 == 0) {
|
||||
fprintf(stderr, "Averaging %llu us per network\n", (total/count));
|
||||
}
|
||||
}
|
||||
@ -748,7 +748,7 @@ void PostgreSQL::initializeMembers()
|
||||
auto dur = std::chrono::duration_cast<std::chrono::microseconds>(end - start);;
|
||||
total += dur.count();
|
||||
++count;
|
||||
if (count % 1000 == 0) {
|
||||
if (count % 10000 == 0) {
|
||||
fprintf(stderr, "Averaging %llu us per member\n", (total/count));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user