Move the histogramReporter() to actors list
This commit is contained in:
parent
3a6948c199
commit
65076db908
|
@ -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) );
|
||||
|
|
Loading…
Reference in New Issue