nacos icon indicating copy to clipboard operation
nacos copied to clipboard

配置管理-历史版本-自定义保留时间

Open zhangjundong1992 opened this issue 3 years ago • 2 comments

能否增加<配置管理-历史版本-自定义保留时间>功能,当前支持保留30天的历史纪录

zhangjundong1992 avatar Aug 04 '22 03:08 zhangjundong1992

看后端代码中DumpService类删除的时候是支持参数的好像, String val = EnvUtil.getProperty("nacos.config.retention.days");,尝试添加下nacos.config.retention.days这个启动属性,这个默认是30

wuchubuzai2018 avatar Aug 04 '22 10:08 wuchubuzai2018

看后端代码中DumpService类删除的时候是支持参数的好像, String val = EnvUtil.getProperty("nacos.config.retention.days");,尝试添加下nacos.config.retention.days这个启动属性,这个默认是30

谢谢你的答复,我尝试一下。

zhangjundong1992 avatar Aug 05 '22 07:08 zhangjundong1992

No more response from author, I think the version has solve the problem.

KomachiSion avatar Aug 12 '22 09:08 KomachiSion