wire up some controller stats

This commit is contained in:
Grant Limberg 2023-04-19 09:47:49 -07:00
parent 9b5b94b515
commit fb0d98b324
No known key found for this signature in database
GPG key ID: 8F2F97D3BE8D7735
3 changed files with 49 additions and 8 deletions

View file

@ -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 = "";