diff options
Diffstat (limited to 'storageserver/src')
-rw-r--r-- | storageserver/src/apps/storaged/storage.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/storageserver/src/apps/storaged/storage.cpp b/storageserver/src/apps/storaged/storage.cpp index 0748cc3cb1e..5996951e65f 100644 --- a/storageserver/src/apps/storaged/storage.cpp +++ b/storageserver/src/apps/storaged/storage.cpp @@ -198,7 +198,7 @@ int StorageApp::Main() LOG(debug, "Server was attempted stopped, shutting down"); // Create guard that will forcifully kill storage if destruction takes longer // time than given timeout. - vespalib::ShutdownGuard shutdownGuard(_maxShutdownTime); + vespalib::ShutdownGuard shutdownGuard(std::chrono::milliseconds(_maxShutdownTime)); LOG(debug, "Attempting proper shutdown"); _process.reset(); LOG(debug, "Completed controlled shutdown."); |