From dc25761b84c4eaa016dae314e16e722bf9aae429 Mon Sep 17 00:00:00 2001 From: Pavel Raiskup Date: Sat, 2 Mar 2024 17:33:59 +0100 Subject: [PATCH] backend: use correct (renamed) _discard_running_worker Complements: 7afb039b2a7818723ce9c6ed10d27bd922a1b3d8 --- backend/copr_backend/background_worker_build.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/copr_backend/background_worker_build.py b/backend/copr_backend/background_worker_build.py index 9700115a2..5bda806db 100644 --- a/backend/copr_backend/background_worker_build.py +++ b/backend/copr_backend/background_worker_build.py @@ -900,7 +900,7 @@ def _keep_alive(): CancellableThreadTask( _keep_alive, self._cancel_task_check_request, - self._cancel_running_worker, + self._discard_running_worker, check_period=CANCEL_CHECK_PERIOD, ).run() if self.canceled: