Skip to content
Snippets Groups Projects
Commit 0e9b82ea authored by Eric Cano's avatar Eric Cano
Browse files

Increased the data movement timeouts to 15 minutes.

This is a temporary solution before parallel request updating is deployed in RetrieveMount::getNextJobBatch().
parent ec5c341b
No related branches found
No related tags found
No related merge requests found
......@@ -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))}
};
//------------------------------------------------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment