Skip to content

perf: reduce SQLite busy_timeout default to 5s and make configurable#2314

Merged
crivetimihai merged 1 commit intomainfrom
perf-issue-1612-sqlite-busy-timeout-reduce
Jan 25, 2026
Merged

perf: reduce SQLite busy_timeout default to 5s and make configurable#2314
crivetimihai merged 1 commit intomainfrom
perf-issue-1612-sqlite-busy-timeout-reduce

Conversation

@TS0713
Copy link
Copy Markdown
Collaborator

@TS0713 TS0713 commented Jan 21, 2026

Address - issue #1612

  • reduces the default SQLite busy_timeout from 30 seconds to 5 seconds and makes it configurable via an environment variable.

Acceptance Criteria

  • Default timeout reduced to 5000ms (5 seconds)
  • Timeout configurable via DB_SQLITE_BUSY_TIMEOUT environment variable
  • .env.example documents the setting
  • Setting follows db_* naming convention
  • No regression in existing tests
  • Passes make verify

@crivetimihai crivetimihai added this to the Release 1.0.0-RC1 milestone Jan 22, 2026
@TS0713 TS0713 force-pushed the perf-issue-1612-sqlite-busy-timeout-reduce branch from c79e04a to 16ac41c Compare January 22, 2026 05:51
@TS0713 TS0713 marked this pull request as ready for review January 22, 2026 06:20
@TS0713 TS0713 requested a review from crivetimihai as a code owner January 22, 2026 06:20
@crivetimihai crivetimihai force-pushed the perf-issue-1612-sqlite-busy-timeout-reduce branch from 16ac41c to 4e024ce Compare January 25, 2026 02:40
@crivetimihai crivetimihai merged commit 7b6e7f3 into main Jan 25, 2026
53 checks passed
@crivetimihai crivetimihai deleted the perf-issue-1612-sqlite-busy-timeout-reduce branch January 25, 2026 02:54
kcostell06 pushed a commit to kcostell06/mcp-context-forge that referenced this pull request Feb 24, 2026
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