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

建议增加定时刷新缓存 #12

Open
mjsoftking opened this issue Sep 30, 2024 · 2 comments
Open

建议增加定时刷新缓存 #12

mjsoftking opened this issue Sep 30, 2024 · 2 comments

Comments

@mjsoftking
Copy link

建议增加定时刷新缓存,定时时间可配置

@JohnNiang
Copy link
Contributor

建议增加定时刷新缓存,定时时间可配置

Hi @mjsoftking , thank you for reaching out here.

默认的策略是一个小时内无人访问,则会自动废弃缓存。

不过可以考虑增加配置来决定缓存失效策略。

@mjsoftking
Copy link
Author

@JohnNiang 嗯呢,定时刷新可以确保指定能刷,现在的策略要是没有排除蜘蛛的访问,估计永远也不会刷新了,而且每小时一般都会有人访问,一般只有2-3点或个别时候确实没有访问发生

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