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

TracingHttpServiceFilter should implement requiredOffloads() #2260

Merged
merged 1 commit into from
Jul 5, 2022

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

Currently, TracingHttpServiceFilter inherits default implementation of
requiredOffloads() which enabled offloading. However, this filter is
non-blocking.

Modifications:

  • Implement TracingHttpServiceFilter#requiredOffloads() that returns
    offloadNone() strategy;

Result:

TracingHttpServiceFilter correctly identifies itself as a non-blocking
filter.

Motivation:

Currently, `TracingHttpServiceFilter` inherits default implementation of
`requiredOffloads()` which enabled offloading. However, this filter is
non-blocking.

Modifications:

- Implement `TracingHttpServiceFilter#requiredOffloads()` that returns
`offloadNone()` strategy;

Result:

`TracingHttpServiceFilter` correctly identifies itself as a non-blocking
filter.
@idelpivnitskiy idelpivnitskiy self-assigned this Jul 5, 2022
@idelpivnitskiy idelpivnitskiy merged commit d959d8b into apple:main Jul 5, 2022
@idelpivnitskiy idelpivnitskiy deleted the TracingHttpServiceFilter branch July 5, 2022 21:01
Copy link
Contributor

@bondolo bondolo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Late LGTM!

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.

3 participants