From 791b601dec4fe7b344ade3b6d18f80edd9318f27 Mon Sep 17 00:00:00 2001 From: Fabian Stamm Date: Wed, 26 Apr 2023 20:03:27 +0200 Subject: [PATCH] Increase delay between checks to 15 minutes --- package.json | 2 +- src/feed_fetcher.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 06f9d26..e760332 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "rss-telegram-bot", - "version": "2.0.2", + "version": "2.0.3", "main": "lib/index.js", "author": "Fabian Stamm ", "license": "MIT", diff --git a/src/feed_fetcher.ts b/src/feed_fetcher.ts index 605ff03..766af99 100644 --- a/src/feed_fetcher.ts +++ b/src/feed_fetcher.ts @@ -98,8 +98,8 @@ async function checkFeed(feed: Feed) { // feed.addItems(newItems); } -// const FEED_CHECK_INTERVAL = 1000 * 60 * 60; -const FEED_CHECK_INTERVAL = 1000 * 30; +const FEED_CHECK_INTERVAL = 1000 * 60 * 15; +// const FEED_CHECK_INTERVAL = 1000 * 30; export default async function checkFeeds() { while (true) {