diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-19 23:22:55 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-11-20 21:55:01 +0000 |
commit | cf3b20dba22718b533eac6854cde86b6538958af (patch) | |
tree | 9a0e795cd74d2721140c48012f794298dfef7420 /configd/src/apps/sentinel/sentinel.cpp | |
parent | 64b7c822099d7cda921699e380c4d95608a1ab00 (diff) |
FastOS_Time -> std::chrono.
Diffstat (limited to 'configd/src/apps/sentinel/sentinel.cpp')
-rw-r--r-- | configd/src/apps/sentinel/sentinel.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configd/src/apps/sentinel/sentinel.cpp b/configd/src/apps/sentinel/sentinel.cpp index 126c59d42f3..b062d7526b6 100644 --- a/configd/src/apps/sentinel/sentinel.cpp +++ b/configd/src/apps/sentinel/sentinel.cpp @@ -1,7 +1,6 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #include <vespa/config/common/exceptions.h> -#include <csignal> #include <unistd.h> #include <sys/time.h> #include <vespa/vespalib/util/signalhandler.h> @@ -14,7 +13,7 @@ LOG_SETUP("config-sentinel"); using namespace config; -constexpr uint64_t CONFIG_TIMEOUT_MS = 3 * 60 * 1000; +constexpr std::chrono::milliseconds CONFIG_TIMEOUT_MS(3 * 60 * 1000); static bool stop() { |