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

fix: edge case in py312 for semaphore lock #24

Merged
merged 1 commit into from
Feb 28, 2024

Conversation

hussein-awala
Copy link
Owner

@hussein-awala hussein-awala commented Feb 28, 2024

In Python 3.12, the created self._concurrent_batch_run takes some time, so the next loop acquires the semaphore before the created task (batch_run).

related: #23

@hussein-awala hussein-awala merged commit 027e5a4 into main Feb 28, 2024
14 checks passed
@hussein-awala hussein-awala deleted the fix/py312_edge_case branch February 28, 2024 23:03
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.

1 participant