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

Conditionally use ioExecutor timer for retry #2134

Merged

Conversation

bondolo
Copy link
Contributor

@bondolo bondolo commented Mar 9, 2022

Motivation:
The RetryingHttpRequesterFilter uses the context executor timer for
scheduling retry attempt. If offloading is disabled it should use the
context ioExecutor timer instead.
Modifications:
Use the appropriate timer based upon context execution strategy.
Result:
Retry timer will not use the context executor for scheduled retries if
offloading is disabled.

Motivation:
The `RetryingHttpRequesterFilter` uses the context executor timer for
scheduling retry attempt. If offloading is disabled it should use the
context ioExecutor timer instead.
Modifications:
Use the appropriate timer based upon context execution strategy.
Result:
Retry timer will not use the context executor for scheduled retries if
offloading is disabled.
@bondolo bondolo added the bug Something isn't working label Mar 9, 2022
@bondolo bondolo requested a review from chemicL March 9, 2022 01:03
@bondolo bondolo merged commit c4df3a3 into apple:main Mar 14, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants