diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-02-28 12:50:54 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-02-28 12:50:54 +0000 |
commit | 97d11fe1b41ea71291b0e027325224d28a963b07 (patch) | |
tree | b31d16cca16f0019180c9e3465f8db75a71f198a /searchcore/src/apps | |
parent | 5a51cc51bf80f4d7c1afa1993e7df6c50a6e3d71 (diff) |
Use the InvokeService to tick the clock instead of having a dedicated separate thread.
Diffstat (limited to 'searchcore/src/apps')
-rw-r--r-- | searchcore/src/apps/proton/proton.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchcore/src/apps/proton/proton.cpp b/searchcore/src/apps/proton/proton.cpp index b806d2b0459..ab273fd2660 100644 --- a/searchcore/src/apps/proton/proton.cpp +++ b/searchcore/src/apps/proton/proton.cpp @@ -219,7 +219,7 @@ App::startAndRun(FastOS_ThreadPool & threadPool, FNET_Transport & transport) { spiProton->createNode(); EV_STARTED("servicelayer"); } else { - proton.getMetricManager().init(identityUri, proton.getThreadPool()); + proton.getMetricManager().init(identityUri, threadPool); } EV_STARTED("proton"); while (!(SIG::INT.check() || SIG::TERM.check() || (spiProton && spiProton->getNode().attemptedStopped()))) { |