Increase delay between checks to 15 minutes
This commit is contained in:
parent
1082dd7a71
commit
791b601dec
@ -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",
|
||||||
|
@ -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) {
|
||||||
|
Loading…
Reference in New Issue
Block a user