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

Cache multithreading bugfix #92

Merged
merged 4 commits into from
Feb 6, 2025
Merged

Conversation

dhruviyer
Copy link
Collaborator

Fixes the issue described in #88 by creating a new SQlite connection per thread and handles cleanup accoridingly by storing the connection in a Thread.Local() object.

@dhruviyer dhruviyer changed the title Dhruviyer/cache multithreading bugfix Cache multithreading bugfix Jan 26, 2025
@dhruviyer
Copy link
Collaborator Author

Failing openAI test will be addressed by #91

@sidjha1
Copy link
Collaborator

sidjha1 commented Feb 6, 2025

@dhruviyer Thanks for this fix. Is it ready to merge? If so, please merge it when you get the chance. Thanks!

@liana313 liana313 merged commit 03954a6 into main Feb 6, 2025
5 of 6 checks passed
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.

3 participants