-
-
Notifications
You must be signed in to change notification settings - Fork 968
Open
Milestone
Description
Feature description
Start Up Time Performance can be severely impacted by the following code:
I think best practice would be to disable this by default as it hides a lot of duplicate initialization happening behind the scenes with Spring Boot.
For instance, in certain situations I have found when setAllowBeanDefinitionOverriding(true) is on, Spring Boot AutoConfigurations are happening that perform various configurations that are later not even used and completely overridden by Grails. The more dependencies that Spring Boot detects in the class path, the greater this penalty can become.
We should explore disabling this by default as it can always be turned on independently via config if required by the end user:
spring.main.allow-bean-definition-overriding=trueor
spring:
main:
allow-bean-definition-overriding: trueMetadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Todo