Skip to content

Use undici Pool for connection pooling and configurable timeouts#517

Open
os-vipul wants to merge 1 commit into
lbdremy:masterfrom
os-vipul:use-undici-pool
Open

Use undici Pool for connection pooling and configurable timeouts#517
os-vipul wants to merge 1 commit into
lbdremy:masterfrom
os-vipul:use-undici-pool

Conversation

@os-vipul
Copy link
Copy Markdown

Summary

  • Replace single undici Client with Pool to enable concurrent HTTP connections to Solr
  • Add configurable poolSize, pipelining, headersTimeout, and bodyTimeout options to SolrClientParams
  • Sensible defaults: 10 connections, no pipelining, 30s timeouts

Test plan

  • Verify npm run build compiles successfully
  • Run npm run test:current against Solr 8 Docker instance
  • Test with custom pool options to confirm they are applied

🤖 Generated with Claude Code

Replace the single undici Client with a Pool to enable concurrent
connections and configurable timeouts. Adds poolSize, pipelining,
headersTimeout, and bodyTimeout options to SolrClientParams.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
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