Increase delay between checks to 15 minutes
All checks were successful
continuous-integration/drone/tag Build is passing
continuous-integration/drone/push Build is passing

This commit is contained in:
Fabian Stamm 2023-04-26 20:03:27 +02:00
parent 1082dd7a71
commit 791b601dec
2 changed files with 3 additions and 3 deletions

View File

@ -1,6 +1,6 @@
{ {
"name": "rss-telegram-bot", "name": "rss-telegram-bot",
"version": "2.0.2", "version": "2.0.3",
"main": "lib/index.js", "main": "lib/index.js",
"author": "Fabian Stamm <dev@fabianstamm.de>", "author": "Fabian Stamm <dev@fabianstamm.de>",
"license": "MIT", "license": "MIT",

View File

@ -98,8 +98,8 @@ async function checkFeed(feed: Feed) {
// feed.addItems(newItems); // feed.addItems(newItems);
} }
// const FEED_CHECK_INTERVAL = 1000 * 60 * 60; const FEED_CHECK_INTERVAL = 1000 * 60 * 15;
const FEED_CHECK_INTERVAL = 1000 * 30; // const FEED_CHECK_INTERVAL = 1000 * 30;
export default async function checkFeeds() { export default async function checkFeeds() {
while (true) { while (true) {