feat(springboot3): 添加 RefreshScope 自动配置支持
- 新增 KenaitoRefreshAutoConfiguration 类,实现 ApplicationContextAware - 更新 spring.factories,注册 EnableAutoConfiguration - 与 Spring Boot 2 客户端保持一致,支持 @Value 和 @ConfigurationProperties 动态刷新
This commit is contained in:
@@ -17,7 +17,7 @@ func main() {
|
||||
Env: "daily",
|
||||
Version: "latest",
|
||||
//Token: "6f6966fe196572954b176c0e2a97bc399b050c6be31454b8d6b0f7f622b5d6f1",
|
||||
SyncInterval: 30, // sync every 30 seconds
|
||||
SyncInterval: 10, // sync every 10 seconds
|
||||
CacheDir: ".",
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user