Drop a superseded probe failure once the identifier is answered
This commit is contained in:
1 parent
4f4c8276b6
commit
784a940baa
1 file changed
+4
@@ -924,6 +924,10 @@ class Search:
|
||||
|
||||
async with asyncio.TaskGroup() as tasks:
|
||||
work = [tasks.create_task(run(source, operations)) for source, operations in plans.items()]
|
||||
answered = {(check.source, check.native_id.upper()) for check, page in checked.items() if page.status.status == 'ok'}
|
||||
for check in [key for key in checked if checked[key].status.status != 'ok']:
|
||||
if (check.source, check.native_id.upper()) in answered:
|
||||
del checked[check]
|
||||
return [item for task in work for item in task.result()]
|
||||
|
||||
async def _remember(self, observations: Iterable[Observation]) -> None:
|
||||
|
||||
Reference in new issue
Block a user