From 1613dc2fd31bdaa836e64709ff1a96d92340a644 Mon Sep 17 00:00:00 2001 From: Eric Cano <Eric.Cano@cern.ch> Date: Thu, 27 Jul 2017 09:58:28 +0200 Subject: [PATCH] Increased the tape server's shutdown timeout to 15 minutes. This is a stop gap solution while we wait for efficient archive/retrieve reporting. --- tapeserver/daemon/DriveHandler.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tapeserver/daemon/DriveHandler.cpp b/tapeserver/daemon/DriveHandler.cpp index 0d0035b2d8..5f28a35425 100644 --- a/tapeserver/daemon/DriveHandler.cpp +++ b/tapeserver/daemon/DriveHandler.cpp @@ -78,7 +78,8 @@ const std::map<SessionState, DriveHandler::Timeout> DriveHandler::m_stateChangeT // We expect the process to exit within 5 minutes of getting in this state. This state // potentially covers the draining of metadata to central storage (if not faster that // unmounting the tape). - {SessionState::ShuttingDown, std::chrono::duration_cast<Timeout>(std::chrono::minutes(5))} + // TODO: this is set temporarily to 15 minutes while the reporting is not yet parallelized. + {SessionState::ShuttingDown, std::chrono::duration_cast<Timeout>(std::chrono::minutes(15))} }; //------------------------------------------------------------------------------ -- GitLab