fix(download): salvage soft-time-limit kills + fix timeout ladder #59

Merged
bvandeusen merged 2 commits from dev into main 2026-06-03 19:35:45 -04:00
Showing only changes of commit 9cb24c9e1b - Show all commits
+1 -1
View File
@@ -33,8 +33,8 @@ def test_timeout_ladder_keeps_subprocess_budgets_under_soft_limit():
logs + finalizes the event) BEFORE Celery's SoftTimeLimitExceeded logs + finalizes the event) BEFORE Celery's SoftTimeLimitExceeded
preempts it. soft must in turn sit below the hard SIGKILL cap.""" preempts it. soft must in turn sit below the hard SIGKILL cap."""
from backend.app.services.gallery_dl import ( from backend.app.services.gallery_dl import (
BACKFILL_TIMEOUT_SECONDS,
_DEFAULT_GDL_TIMEOUT_SECONDS, _DEFAULT_GDL_TIMEOUT_SECONDS,
BACKFILL_TIMEOUT_SECONDS,
) )
from backend.app.tasks.download import ( from backend.app.tasks.download import (
DOWNLOAD_HARD_TIME_LIMIT, DOWNLOAD_HARD_TIME_LIMIT,