Remove unused tapeserver constants, make session states timeouts configurable
Summary
Removed unused tapeserver constants: the logic changed too much since they were introduced. Some of them are duplicated by config values, like wdNoBlockMoveMaxSecs
and wdMountMaxSecs
, others are not needed at all.
On the other hand, wdMountMaxSecs
also wasn't used - this has been changed by removing const
from std::map
that contains session states timeouts. Corresponding values are set when the config is read. More config values were added to control the timeouts of all session states.
References
Closes #106 (closed)