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

OpenFeign#2249 | Support concurrent access to requestInterceptor. #2329

Closed
wants to merge 1 commit into from

Conversation

youssef3wi
Copy link

The Interceptors now have support for concurrent access, which fixes #2249 in this pull request.

@velo
Copy link
Member

velo commented Feb 15, 2024

Why would you have multiple threads at build time?

@youssef3wi
Copy link
Author

To simulate the issue.

@velo
Copy link
Member

velo commented Feb 21, 2024

I'm not convinced that builder should be thread safe. Special cause it can't be safe safe. You can always build with some concurrency changing an encoder or anything else.

@velo velo closed this Feb 21, 2024
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.

Feign.Builder have a requestInterceptor bug
2 participants