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

RSS 订阅检查更新问题 #48

Closed
heitu001 opened this issue Mar 13, 2021 · 7 comments
Closed

RSS 订阅检查更新问题 #48

heitu001 opened this issue Mar 13, 2021 · 7 comments
Labels
bug Something isn't working

Comments

@heitu001
Copy link

订阅第三方https://yande.re/post/piclens?page=
运行一段时间就会出现
[WARNING] apscheduler | Execution of job "check_update (trigger: interval[0:05:00], next run at: 2021-03-13 18:58:47 CST)" skipped: maximum number of running instances reached (1)

Quan666 added a commit that referenced this issue Mar 14, 2021
@Quan666 Quan666 closed this as completed Mar 18, 2021
@Quan666 Quan666 reopened this Mar 21, 2021
@Quan666
Copy link
Owner

Quan666 commented Mar 21, 2021

和某个订阅地址关系不大,复现方式未知

@Quan666 Quan666 changed the title 特定的第三方rss问题 RSS 订阅检查更新问题 Mar 26, 2021
@Quan666 Quan666 added the bug Something isn't working label Mar 26, 2021
@Quan666
Copy link
Owner

Quan666 commented May 7, 2021

配置文件中增加以下配置好像能缓解问题

apscheduler_config={ "apscheduler.timezone": "Asia/Shanghai", "apscheduler.executors.processpool": {"type": "processpool","max_workers": "61"}}

@heitu001
Copy link
Author

heitu001 commented May 7, 2021

@Quan666 好的~我更新试试 谢谢

@Quan666 Quan666 closed this as completed May 26, 2021
@Calanosay
Copy link

你好!我最近在开发一个推送的插件的时候也遇到了上述问题,在爬取境外网站时由于时间过长而导致apscheduler自动skip,目前将httpx的timeout设置为none虽然有一点点的缓解但是还是在一段时间过后不再运行(3-4天),请问你是否有找到完全解决的方案?或者是否有能大幅缓解的方案?谢谢。

@Quan666
Copy link
Owner

Quan666 commented Aug 7, 2022

你好!我最近在开发一个推送的插件的时候也遇到了上述问题,在爬取境外网站时由于时间过长而导致apscheduler自动skip,目前将httpx的timeout设置为none虽然有一点点的缓解但是还是在一段时间过后不再运行(3-4天),请问你是否有找到完全解决的方案?或者是否有能大幅缓解的方案?谢谢。

你加了我上面说的那个配置了吗?

@Calanosay
Copy link

你好!我最近在开发一个推送的插件的时候也遇到了上述问题,在爬取境外网站时由于时间过长而导致apscheduler自动skip,目前将httpx的timeout设置为none虽然有一点点的缓解但是还是在一段时间过后不再运行(3-4天),请问你是否有找到完全解决的方案?或者是否有能大幅缓解的方案?谢谢。

你加了我上面说的那个配置了吗?

暂时没有,因为我预估这样也只是暂时解决,但也应该会比之前好一些,只是想问一下有没有彻底的解决方案。另外这个配置是在env里面加就行了吗,我用到apscheduler的插件,但是并没有用的你的插件。

@Quan666
Copy link
Owner

Quan666 commented Aug 7, 2022

你加了试一试,具体怎么加你可以看官方文档。
还有你可以把请求超时时间设置的小于定时任务周期。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants