mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	优化,使用 @Configuration(proxyBeanMethods = false) 提升启动速度
This commit is contained in:
		| @@ -13,7 +13,7 @@ import org.springframework.context.annotation.Configuration; | ||||
|  * | ||||
|  * @author 芋道源码 | ||||
|  */ | ||||
| @Configuration | ||||
| @Configuration(proxyBeanMethods = false) | ||||
| @ConditionalOnClass({MeterRegistryCustomizer.class}) | ||||
| @ConditionalOnProperty(prefix = "yudao.metrics", value = "enable", matchIfMissing = true) // 允许使用 yudao.metrics.enable=false 禁用 Metrics | ||||
| public class YudaoMetricsAutoConfiguration { | ||||
|   | ||||
| @@ -15,7 +15,7 @@ import org.springframework.context.annotation.Configuration; | ||||
|  * | ||||
|  * @author mashu | ||||
|  */ | ||||
| @Configuration | ||||
| @Configuration(proxyBeanMethods = false) | ||||
| @ConditionalOnClass({BizTraceAspect.class}) | ||||
| @EnableConfigurationProperties(TracerProperties.class) | ||||
| @ConditionalOnProperty(prefix = "yudao.tracer", value = "enable", matchIfMissing = true) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 YunaiV
					YunaiV