Counting empty instances as well
This commit is contained in:
@@ -148,6 +148,7 @@ std::shared_ptr<GeneralStatistics> StatisticManager::general_statistics() {
|
||||
stats->bots += entry->bots;
|
||||
stats->clients += entry->clients;
|
||||
stats->servers += entry->servers;
|
||||
stats->empty_instances += entry->clients == 0;
|
||||
stats->instances++;
|
||||
}
|
||||
stats->age = system_clock::now();
|
||||
|
||||
Reference in New Issue
Block a user