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

spring boot与disconf结合,不热加载的问题 #407

Open
acctivitiBPM opened this issue Mar 8, 2019 · 0 comments
Open

spring boot与disconf结合,不热加载的问题 #407

acctivitiBPM opened this issue Mar 8, 2019 · 0 comments

Comments

@acctivitiBPM
Copy link

启动项目,在web端修改配置文件后(修改的是application.properties的spring.datasource.url,就是数据库连接的url),能看到target下classes里的application.properties文件已经实时更改了,但是数据源的连接并没有发生变化,变更一个不存的的连接,也不会报错.
第二次我更改reids.properties,变更了redis的host,并且在reload方法里进行set,变更前与变更后的redis都没有set进数据.
请问是什么原因?

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

No branches or pull requests

1 participant