Skip to content

fix(providers): increase HTTP connection pool for embedding provider#1123

Open
ronaldtangg wants to merge 1 commit intonextlevelbuilder:devfrom
ronaldtangg:fix/embedding-http-pool
Open

fix(providers): increase HTTP connection pool for embedding provider#1123
ronaldtangg wants to merge 1 commit intonextlevelbuilder:devfrom
ronaldtangg:fix/embedding-http-pool

Conversation

@ronaldtangg
Copy link
Copy Markdown

Summary

Fix HTTP connection pool starvation in embedding provider that caused
team_tasks(action="search") to block when >5 concurrent requests hit
the embedding API simultaneously.

Type

  • Bug fix

Target Branch

dev

Checklist

  • go build ./... passes
  • go build -tags sqliteonly ./... passes
  • go vet ./... passes
  • No hardcoded secrets or credentials
  • SQL queries use parameterized $1, $2 (no string concat)

Test Plan

  1. Deploy to staging
  2. Trigger 10+ concurrent chat sessions that call team_tasks(action="search")
  3. Verify all requests complete without blocking
  4. Previously: >5 concurrent requests would hang indefinitely
  5. After fix: 30 concurrent connections supported per host

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