fix(rclone): use correct timeout in seconds
This commit is contained in:
parent
f6169ab27e
commit
d07be16fc6
1 changed files with 1 additions and 1 deletions
|
|
@ -63,7 +63,7 @@ const mount = async (config: BackendConfig, path: string) => {
|
|||
};
|
||||
|
||||
try {
|
||||
return await withTimeout(run(), zbConfig.serverIdleTimeout, "Rclone mount");
|
||||
return await withTimeout(run(), zbConfig.serverIdleTimeout * 1000, "Rclone mount");
|
||||
} catch (error) {
|
||||
const errorMsg = toMessage(error);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue