use uint64_t for timing const in DS

This commit is contained in:
Stephen Birarda 2013-10-01 15:49:48 -07:00
parent cebd8e5f4b
commit f3acb53835

View file

@ -552,7 +552,7 @@ int DomainServer::run() {
}
}
const long long RESTART_HOLD_TIME_USECS = 5 * 1000 * 1000;
const uint64_t RESTART_HOLD_TIME_USECS = 5 * 1000 * 1000;
if (!_hasCompletedRestartHold && usecTimestampNow() - usecTimestamp(&startTime) > RESTART_HOLD_TIME_USECS) {
_hasCompletedRestartHold = true;