muesli / beehive

A flexible event/agent & automation system with lots of bees 🐝
GNU Affero General Public License v3.0
6.27k stars 320 forks source link

RSSBee - add ability to change polling frequency #325

Open jk-na opened 4 years ago

jk-na commented 4 years ago

I asked @muesli on mastodon whether it was possible to change the polling frequency for RSSBee and it seems that it is not.

Raising a ticket as per his request.

rubiojr commented 4 years ago

Started working on this, should be quick.

https://github.com/muesli/beehive/compare/custom-rss-poll-interval

jk-na commented 3 years ago

Hi @rubiojr just wondering if you made any progress on this?

Phoenix616 commented 2 years ago

Started working on this, should be quick.

https://github.com/muesli/beehive/compare/custom-rss-poll-interval

That change there is unnecessarily complex. All you need is to set the int in pollFeed which adjusts the cache timeout/poll frequency in the constructed rss object from go-pkg-rss which is then used in feed#SecondsTillUpdate to wait the poll. (The cache timeout value is in minutes, currently it's using 5 minutes hardcoded)