Skip to content

Fix: shared threading.Lock for file-backed SQLite sessions#2832

Closed
KirobotDev wants to merge 1 commit intoopenai:mainfrom
KirobotDev:main
Closed

Fix: shared threading.Lock for file-backed SQLite sessions#2832
KirobotDev wants to merge 1 commit intoopenai:mainfrom
KirobotDev:main

Conversation

@KirobotDev
Copy link
Copy Markdown

  • Add shared _file_db_lock in base SQLiteSession class
  • Replace fresh threading.Lock() calls with shared instance lock
  • Ensure AdvancedSQLiteSession inherits the same lock
  • Add regression tests for concurrent file DB access

- Add shared _file_db_lock in base SQLiteSession class
- Replace fresh threading.Lock() calls with shared instance lock
- Ensure AdvancedSQLiteSession inherits the same lock
- Add regression tests for concurrent file DB access
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant