tape: lto: increase default timeout to 10 minutes
it seems that for some actions or in some circumstances, two minutes is simply too short and the command aborts. Increase the default timeout to 10 minutes. While it should give most commands enough time to finish, in case of a real failure the procedure now takes up to 5 times longer, but IMHO thats an OK tradeoff. Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
parent
400e90cfbe
commit
4bb3876352
|
@ -130,7 +130,7 @@ pub struct SgTape {
|
||||||
|
|
||||||
impl SgTape {
|
impl SgTape {
|
||||||
|
|
||||||
const SCSI_TAPE_DEFAULT_TIMEOUT: usize = 60*2; // 2 minutes
|
const SCSI_TAPE_DEFAULT_TIMEOUT: usize = 60*10; // 10 minutes
|
||||||
|
|
||||||
/// Create a new instance
|
/// Create a new instance
|
||||||
///
|
///
|
||||||
|
|
Loading…
Reference in New Issue