Skip to content

Commit eae99a8

Browse files
update tests
1 parent 93bc71e commit eae99a8

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/bfd-pipeline-idr/src/idr_pipeline/batch_worker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -234,7 +234,7 @@ async def _worker_main(self) -> None:
234234
timeout=600, # See loader.py for explanation on timeout length
235235
) as pool,
236236
):
237-
await pool.wait()
237+
await pool.wait(timeout=600)
238238

239239
stop = anyio.Event()
240240
tg.start_soon(self._run_queue_bridge, task_send, stop)

apps/bfd-pipeline-idr/src/idr_pipeline/loader.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ async def _async_load(
8080
# TODO: Investigate pool timeout further so that this can be removed
8181
timeout=600,
8282
) as pool:
83-
await pool.wait()
83+
await pool.wait(timeout=600)
8484
return await BatchLoader(
8585
fetch_results,
8686
model,

0 commit comments

Comments
 (0)