Fix tryAddMount usage
This commit is contained in:
@@ -195,7 +195,7 @@ function restore(backupConfig, backupId, version, sysinfoConfig, options, auditS
|
||||
mountOptions: backupConfig.mountOptions
|
||||
};
|
||||
|
||||
[error] = await safe(mounts.tryAddMount(newMount, null, { times: 20, interval: 500 })); // 10 seconds
|
||||
[error] = await safe(mounts.tryAddMount(newMount, { timeout: 10 })); // 10 seconds
|
||||
if (error) return callback(error);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user