llaoj/gcopy

数据保存时间可调吗?

Opened this issue · 1 comments

一定要24小时吗?可不可以设置自动清除时间,或手动一键清理,或同步完及时消除?

看起来源码在这一行:https://github.com/llaoj/gcopy/blob/main/internal/server/wall.go#L47
可以试试手动修改后编译。
手动清理很简单,重启一下服务就清理了。