Skip to content

fegger/feature/pooling#13

Merged
fegger-ducksify merged 2 commits into
mainfrom
fegger/feature/pooling
May 24, 2026
Merged

fegger/feature/pooling#13
fegger-ducksify merged 2 commits into
mainfrom
fegger/feature/pooling

Conversation

@fegger-ducksify
Copy link
Copy Markdown
Collaborator

Summary Implement dynamic, thread-safe HTTP consumer pooling and per-poll request sizing- B Go chain to1.25.7Changes- Poll when any slot is free (polls occur availableSlots >0- Build request per: batch size = min(availableSlots, MaxResults)

  • pullRequest(batchSize) to request path ...//{batchSize- static httpReq field; each poll constructs its own HTTP request with correct batch size and headersNotes- Adjusts HTTP consumer to respect available concurrency and requested batch sizes

…r to build requests per-poll and respect availableconcurrency and requested batch sizes.

What changed
Poll when any slot is free (availableSlots > 0)
Request size = min(availableSlots, MaxResults) per poll via a new pullRequest(batchSize) method (path .../path/{batchSize})
Removed the static httpReq field — each poll builds a request with the right batch size and headers
@fegger-ducksify fegger-ducksify merged commit a3b5070 into main May 24, 2026
1 check passed
@fegger-ducksify fegger-ducksify deleted the fegger/feature/pooling branch May 24, 2026 11:07
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