Skip to content

Make SqliteOntology thread safe#1493

Merged
bgyori merged 3 commits into
masterfrom
threadsafe-sqlite-ontology
Mar 24, 2026
Merged

Make SqliteOntology thread safe#1493
bgyori merged 3 commits into
masterfrom
threadsafe-sqlite-ontology

Conversation

@kkaris
Copy link
Copy Markdown
Contributor

@kkaris kkaris commented Mar 20, 2026

This PR updates the SQLite Ontology in two ways:

  1. Add a _get_cursor helper that returns a cursor
  2. Save the pointer to that cursor locally per thread to avoid cross-thread usage

@bgyori bgyori merged commit c0dfc2b into master Mar 24, 2026
0 of 4 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.

2 participants