Skip to content

Allow ability to limit concurrency when making requests#67

Merged
chadicus merged 1 commit intotraderinteractive:v3.xfrom
chadicus:guzzle-promises
Dec 1, 2025
Merged

Allow ability to limit concurrency when making requests#67
chadicus merged 1 commit intotraderinteractive:v3.xfrom
chadicus:guzzle-promises

Conversation

@chadicus
Copy link
Contributor

@chadicus chadicus commented Dec 1, 2025

What does this PR do?

This pull request updates the GuzzleAdapter code to use Each::ofLimit to fufill promises. It also allows the concurrency to be set via the constructor. The default concurrency is PHP_INT_MAX to prevent backwards compatibility issues with unlimited concurrency.

Checklist

  • Pull request contains a clear definition of changes
  • Tests (either unit, integration, or acceptance) written and passing
  • Relevant documentation produced and/or updated

@chadicus chadicus requested a review from a team as a code owner December 1, 2025 22:17
@chadicus chadicus merged commit 8772106 into traderinteractive:v3.x Dec 1, 2025
3 checks passed
@chadicus chadicus deleted the guzzle-promises branch December 1, 2025 22:38
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.

2 participants