From 0e9b82ea72fdbf350b11cc5c113b4331046860e2 Mon Sep 17 00:00:00 2001 From: Eric Cano <Eric.Cano@cern.ch> Date: Mon, 7 Aug 2017 19:05:36 +0200 Subject: [PATCH] Increased the data movement timeouts to 15 minutes. This is a temporary solution before parallel request updating is deployed in RetrieveMount::getNextJobBatch(). --- tapeserver/daemon/DriveHandler.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/tapeserver/daemon/DriveHandler.cpp b/tapeserver/daemon/DriveHandler.cpp index 5f28a35425..90151d655e 100644 --- a/tapeserver/daemon/DriveHandler.cpp +++ b/tapeserver/daemon/DriveHandler.cpp @@ -97,10 +97,11 @@ const std::map<SessionState, DriveHandler::Timeout> DriveHandler::m_heartbeatTim //------------------------------------------------------------------------------ // The following structure represents the data movement timeouts for the session states involving // data movements and heartbeats. -// TODO: decide on values +// TODO: decide on values. TODO: bumped up to 15 minutes for the time being as the +// efficient retrieve requests pop is not implemented yet. const std::map<SessionState, DriveHandler::Timeout> DriveHandler::m_dataMovementTimeouts = { - {SessionState::Running, std::chrono::duration_cast<Timeout>(std::chrono::minutes(5))}, - {SessionState::DrainingToDisk, std::chrono::duration_cast<Timeout>(std::chrono::minutes(5))} + {SessionState::Running, std::chrono::duration_cast<Timeout>(std::chrono::minutes(15))}, + {SessionState::DrainingToDisk, std::chrono::duration_cast<Timeout>(std::chrono::minutes(15))} }; //------------------------------------------------------------------------------ -- GitLab