fix(rclone): use correct timeout in seconds

This commit is contained in:
Nicolas Meienberger 2026-03-11 19:19:06 +01:00
parent f6169ab27e
commit d07be16fc6

View file

@ -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);