Check transfer speed over 60 seconds

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
bbassieandClaude Opus 5.5 committed 2026-11-20 20:59:37 +00:00
1 parent 19569aefa4
commit 42bc31e406
3 files changed
+4 -4

No files matched your search

+1 -1
View File
@@ -857,7 +857,7 @@ async function uploadMod(req: Request, res: Response) {
}
export function addRouteHandlers(app: Application, progressCheckIntervalMs = 30_000) {
export function addRouteHandlers(app: Application, progressCheckIntervalMs = 60_000) {
app.use(guardRequest(progressCheckIntervalMs));
app.get("/metrics",
validateUserToken,
+1 -1
View File
@@ -234,7 +234,7 @@ export class ControllerConfig extends classes.Config<ControllerConfigFields> {
},
"controller.transfer_min_speed": {
title: "Transfer Minimum Speed",
description: "KiB/s an upload or download has to move at over 30 seconds to not be closed, 0 for no limit.",
description: "KiB/s an upload or download has to move at over 60 seconds to not be closed, 0 for no limit.",
type: "number",
initialValue: 64,
validator: validators.greaterThanEqualZero,