Skip to content

Commit fbee019

Browse files
snus-kinCopilot
andauthored
Update src/resolver_athena_client/client/transformers/worker_batcher.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent a3dab08 commit fbee019

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/resolver_athena_client/client/transformers/worker_batcher.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ async def _get_next_batch(self) -> ClassifyRequest:
242242
await asyncio.wait_for(
243243
self._wait_for_items(), timeout=self.batch_timeout
244244
)
245-
except asyncio.TimeoutError: # noqa: PERF203 needed for proper handling of cancellation
245+
except asyncio.TimeoutError: # noqa: PERF203 used to trigger batch send on timeout
246246
# Timeout - send current batch if we have items
247247
if self.processed_items:
248248
break

0 commit comments

Comments
 (0)