Skip to content

Commit 6391b8c

Browse files
kapillamba4claude
andcommitted
fix: add check_same_thread=False for SQLite threading
Also bump version from 1.0.16 to 1.0.17 Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent e8c1992 commit 6391b8c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

db.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -291,7 +291,7 @@ def get_db(project_dir: str) -> sqlite3.Connection:
291291
"""
292292
import os
293293
db_path = os.path.join(os.path.abspath(project_dir), "code_memory.db")
294-
db = sqlite3.connect(db_path)
294+
db = sqlite3.connect(db_path, check_same_thread=False)
295295
db.enable_load_extension(True)
296296
sqlite_vec.load(db)
297297
db.enable_load_extension(False)

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "hatchling.build"
44

55
[project]
66
name = "code-memory"
7-
version = "1.0.16"
7+
version = "1.0.17"
88
description = "A deterministic, high-precision code intelligence MCP server"
99
readme = "README.md"
1010
license = "MIT"

0 commit comments

Comments
 (0)