diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-22 14:11:52 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-22 14:11:52 +0000 |
commit | 9a7ec5cb5bbf8410f04d6d0f3795ccabde70291d (patch) | |
tree | f1ea6e1e84ae6e210989c2bba3ce30c8e2820291 | |
parent | 15fe984bc6b212b7b1b60e099d118fdbc6bbac08 (diff) |
Follow api change
-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 c63e3c9181c..b37eb5ac0cf 100644 --- a/searchcore/src/apps/proton/proton.cpp +++ b/searchcore/src/apps/proton/proton.cpp @@ -220,7 +220,7 @@ App::Main() std::unique_ptr<ProtonServiceLayerProcess> spiProton; if ( ! params.serviceidentity.empty()) { spiProton = std::make_unique<ProtonServiceLayerProcess>(params.serviceidentity, proton, downPersistence.get()); - spiProton->setupConfig(params.subscribeTimeout); + spiProton->setupConfig(std::chrono::milliseconds(params.subscribeTimeout)); spiProton->createNode(); EV_STARTED("servicelayer"); } |