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 multiple primary ThreadFactory instances #4257

Merged
merged 1 commit into from
Oct 7, 2020

Conversation

dstepanov
Copy link
Contributor

@dstepanov dstepanov commented Oct 6, 2020

Fixes #4255

Unfortunately, I didn't realize "default" event loop config also will contribute @Primary annotation. The fix is to remove @EachBean configuration. That means that ThreadFactory instances aren't going to be present in the context.

@dstepanov dstepanov changed the title Fix multiple primary ThreadFactory isntances Fix multiple primary ThreadFactory instances Oct 6, 2020
@dstepanov
Copy link
Contributor Author

@graemerocher @jameskleeh WDYT about this one? This is a fix of the problem introduced by #3761

@graemerocher graemerocher merged commit 525fb3f into micronaut-projects:2.1.x Oct 7, 2020
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.

NonUniqueBeanException for java.util.concurrent.ThreadFactory after update to 2.1.0
2 participants