Move the histogramReporter() to actors list

This commit is contained in:
Xiaoge Su 2020-11-13 13:15:58 -08:00
parent 3a6948c199
commit 65076db908
1 changed files with 1 additions and 2 deletions

View File

@ -1796,10 +1796,9 @@ int main(int argc, char* argv[]) {
if (!dataFolder.size())
dataFolder = format("fdb/%d/", publicAddresses.address.port); // SOMEDAY: Better default
auto histogramReportActor = histogramReport();
vector<Future<Void>> actors(listenErrors.begin(), listenErrors.end());
actors.push_back( fdbd(connectionFile, localities, processClass, dataFolder, dataFolder, storageMemLimit, metricsConnFile, metricsPrefix, rsssize, whitelistBinPaths) );
actors.push_back(histogramReport());
//actors.push_back( recurring( []{}, .001 ) ); // for ASIO latency measurement
f = stopAfter( waitForAll(actors) );