Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Properly handle asyncio.gather() call in SemanticCache.aheck #263

Merged
merged 1 commit into from
Jan 23, 2025

Conversation

abrookins
Copy link
Collaborator

An asyncio.gather() call should be awaited. Failing to await it causes the tasks to run after the method exits, which can cause unexpected behavior, including failure if the event loop no longer exists.

Fixes RAE-564

An `asyncio.gather()` call should be awaited. Failing to await it causes
the tasks to run after the method exits, which can cause unexpected
behavior, including failure if the event loop no longer exists.

Fixes RAE-564
Copy link
Collaborator

@tylerhutcherson tylerhutcherson left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

TY! Good catch

@abrookins abrookins marked this pull request as ready for review January 23, 2025 21:46
@abrookins abrookins merged commit 0dff967 into main Jan 23, 2025
20 checks passed
@rbs333 rbs333 deleted the bug/RAE-564-fix-gather-call branch January 24, 2025 15:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants