Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

增加 nacos.config.bootstrap.snapshot-enable 配置,用于关闭,开启是否保存快照 #295

Merged
merged 1 commit into from
Jul 1, 2023

Conversation

slatonwu
Copy link
Contributor

解决 #294 的问题,此开关默认为开启状态,只有配置为false时才会起作用。目前只能在启动项目服务的时候显示调用SnapShotSwitch.setIsSnapShot(false);才会不在本地保存快照,增加这个配置会更友好一些。
此配置只需要在配置管理里面起作用,因为有些配置为敏感信息,不可以在客户端保存,而自动发现可以不用此开关默认打开即可

@hujun-w-2 hujun-w-2 merged commit df0f68f into nacos-group:master Jul 1, 2023
@hujun-w-2
Copy link
Collaborator

可以把相关文档也完善一下

@slatonwu
Copy link
Contributor Author

slatonwu commented Jul 3, 2023

好的,等发版了我提PR更新文档

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants