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: