Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: Clarify the behavior of concurrent requests in QueuedInterceptor #2347

Merged
merged 2 commits into from
Jan 24, 2025

Conversation

Passer-by
Copy link
Contributor

The previous documentation for QueuedInterceptor could lead to misunderstandings about how concurrent requests are handled. The explanation suggested that requests would have to wait for the previous request to complete before being initiated.

This update clarifies that requests are processed in three independent queues: onRequest, onResponse, and onError. These queues run in parallel.

New Pull Request Checklist

  • I have read the Documentation
  • I have searched for a similar pull request in the project and found none
  • I have updated this branch with the latest main branch to avoid conflicts (via merge from master or rebase)
  • I have added the required tests to prove the fix/feature I'm adding
  • I have updated the documentation (if necessary)
  • I have run the tests without failures
  • I have updated the CHANGELOG.md in the corresponding package

Additional context and info (if any)

The previous documentation for `QueuedInterceptor` could lead to misunderstandings about how concurrent requests are handled. The explanation suggested that requests would have to wait for the previous request to complete before being initiated.

This update clarifies that requests are processed in three independent queues: `onRequest`, `onResponse`, and `onError`. These queues run in parallel.


Signed-off-by: 友人A <58846244+Passer-by@users.noreply.github.com>
@Passer-by Passer-by requested a review from a team as a code owner December 24, 2024 09:55
Copy link
Contributor

Code Coverage Report: Only Changed Files listed

Package Base Coverage New Coverage Difference
Overall Coverage 🟢 84.71% 🟢 84.71% ⚪ 0%

Minimum allowed coverage is 0%, this run produced 84.71%

AlexV525

This comment was marked as outdated.

@Passer-by Passer-by marked this pull request as draft January 24, 2025 05:41
@AlexV525 AlexV525 marked this pull request as ready for review January 24, 2025 06:17
@AlexV525 AlexV525 merged commit a92bf19 into cfug:main Jan 24, 2025
2 of 3 checks passed
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