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

remove setCacheBeanMetadata to false, fix Spring @Order not work issue #603

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

gejun123456
Copy link
Contributor

metadata will be cleared after bean class change in SpringBeanReload invokeBeanFactoryPostProcessors(beanFactory);

in PostProcessorRegistrationDelegate it wil clear beanFactory.clearMetadataCache();

Not sure why it fixed the issue, but I haven't noticed any side effects. It would be great if someone could help review it. remove the code also can improve the performance, my project start time from 11 second to 9 seconds.

@cvictory @edudant @skybber help review thanks.

@gejun123456
Copy link
Contributor Author

#461 related issue

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.

1 participant