Add new settings download_timeout_check_interval

This commit is contained in:
2024-02-04 11:24:03 +08:00
parent c9c92f0bd9
commit 1e72c057ab
3 changed files with 11 additions and 1 deletions

View File

@@ -346,6 +346,7 @@ export async function download_task(
const pr = new ProgressReadable(
re.body,
cfg.download_timeout,
cfg.download_timeout_check_interval,
force_abort,
);
pr.addEventListener("progress", (e) => {