Skip to content
Snippets Groups Projects
Commit d3d4ee32 authored by Steven Murray's avatar Steven Murray
Browse files

Added further comments to the code surrounding the m_driveReadyDelayInSeconds...

Added further comments to the code surrounding the m_driveReadyDelayInSeconds attribute of CleanerSession
parent b7b59d28
No related branches found
No related tags found
No related merge requests found
......@@ -972,6 +972,8 @@ void castor::tape::tapeserver::daemon::CatalogueDrive::shutdown() {
// Create a cleaner process to make 100% sure the tape drive is empty
const std::string vid = ""; // Empty string means VID is not known
const time_t assignmentTime = time(NULL);
// Setting driveReadyDelayInSeconds to 0 has the special meaning of
// NOT testing to see if the drive contains a tape
const uint32_t driveReadyDelayInSeconds = 0;
m_session = createCleaner(vid, assignmentTime, driveReadyDelayInSeconds);
......
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