Browse Source

Fix timer

ghorsington 5 năm trước cách đây
mục cha
commit
1ad949031f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      commands/news_aggregator.js

+ 1 - 1
commands/news_aggregator.js

@@ -141,7 +141,7 @@ function initAggregators() {
 
 function onStart() {
     initAggregators();
-    interval(checkFeeds, UPDATE_INTERVAL * 1000);
+    interval(checkFeeds, UPDATE_INTERVAL * 60 * 1000);
 };
 
 module.exports = {