perf: fix multi-tenant inference latency (per-conversation locking + workspace indexing) (#2127)

This commit is contained in:
Henry Park
2026-04-07 20:05:45 -07:00
committed by GitHub
parent e82ee33704
commit a56fec7ebc
4 changed files with 438 additions and 126 deletions

View File

@@ -1,6 +1,6 @@
# Database Configuration
DATABASE_URL=postgres://localhost/ironclaw
DATABASE_POOL_SIZE=10
DATABASE_POOL_SIZE=30 # multi-tenant default; reduce to 5-10 for single-user or low-resource deployments
# LLM Provider
# LLM_BACKEND=nearai # default