Round 3 fixes: cancelled polling, aggregator invalid_count, filter state, scheduler atomicity, HTTP exception handler, tests
This commit is contained in:
@@ -154,6 +154,10 @@ class ValidateAllJob(Job):
|
||||
self._touch()
|
||||
|
||||
payload = {"total": total, "submitted": submitted}
|
||||
self._set_completed(payload)
|
||||
if self.is_cancelled:
|
||||
self.status = JobStatus.CANCELLED
|
||||
self._touch()
|
||||
else:
|
||||
self._set_completed(payload)
|
||||
logger.info(f"ValidateAllJob {self.id}: submitted {submitted}/{total} proxies")
|
||||
return payload
|
||||
|
||||
Reference in New Issue
Block a user