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

【需求】将feed默认配置从json配置文件移到sqlite中 #12

Open
tiltwind opened this issue Mar 25, 2023 · 2 comments
Open

【需求】将feed默认配置从json配置文件移到sqlite中 #12

tiltwind opened this issue Mar 25, 2023 · 2 comments

Comments

@tiltwind
Copy link
Collaborator

tiltwind commented Mar 25, 2023

背景

目前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中。

开发相关信息

@zhuangjinjin
Copy link

这个需求我来实现吧

@tiltwind
Copy link
Collaborator Author

@zhuangjinjin 我觉得sqlite 中可以考虑增加一张表来存储这些默认值,可参考

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

2 participants