Skip to content

fix(concurrency): fix issue for data leakage across sessions - #14

Merged
junxiant merged 1 commit into
mainfrom
fix/backend-concurrency
Sep 4, 2026
Merged

junxiant merged 1 commit into
mainfrom
fix/backend-concurrency

Conversation

@junxiant

@junxiant junxiant commented Sep 4, 2026

Copy link
Copy Markdown
Owner
  • Use threading.local for orchestrator retrieval state to prevent cross-request leakage

  • Add threading lock around LLM rate limiting to prevent race conditions

  • Implement psycopg2 ThreadedConnectionPool with robust SQLite fallback and connection timeouts

…r, and pool DB connections

- Use threading.local for orchestrator retrieval state to prevent cross-request leakage

- Add threading lock around LLM rate limiting to prevent race conditions

- Implement psycopg2 ThreadedConnectionPool with robust SQLite fallback and connection timeouts
@junxiant
junxiant merged commit 87c603d into main Sep 4, 2026
0 of 2 checks passed
@junxiant
junxiant deleted the fix/backend-concurrency branch September 4, 2026 04:47
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.

1 participant