This commit is contained in:
Rony Lutsky 2022-09-22 06:50:11 +03:00 committed by GitHub
parent 153d29cce7
commit 0c47a8edf4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -840,7 +840,7 @@ class Worker:
if job_status is None: # Job completed and its ttl has expired
return
elif job_status == JobStatus.STOPPED:
elif self._stopped_job_id == job.id:
# Work-horse killed deliberately
self.log.warning('Job stopped by user, moving job to FailedJobRegistry')
self.handle_job_failure(