We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
目前informer的feed配置是放在json配置文件中的,参考范例 https://github.com/vogo/informer/blob/master/examples/informer.json
"feed": { "same_site_max_count": 3, "feed_expire_days": 150, "max_inform_feed_size": 20, "max_fetch_num":1 },
但针对每一个feed 地址的配置则是配置在sqlite中的。
将以上feed默认配置移到 sqlite中,逐步建设配置文件中的配置,未来逐步移除配置文件。 如果sqlite一开始没有这些配置,可以将这些配置初始化到sqlite中。
informer/internal/inform/informer.go
Line 66 in b7b7d53
The text was updated successfully, but these errors were encountered:
这个需求我来实现吧
Sorry, something went wrong.
@zhuangjinjin 我觉得sqlite 中可以考虑增加一张表来存储这些默认值,可参考
No branches or pull requests
背景
目前informer的feed配置是放在json配置文件中的,参考范例 https://github.com/vogo/informer/blob/master/examples/informer.json
但针对每一个feed 地址的配置则是配置在sqlite中的。
需求
将以上feed默认配置移到 sqlite中,逐步建设配置文件中的配置,未来逐步移除配置文件。
如果sqlite一开始没有这些配置,可以将这些配置初始化到sqlite中。
开发相关信息
informer/internal/inform/informer.go
Line 66 in b7b7d53
The text was updated successfully, but these errors were encountered: