summaryrefslogtreecommitdiff
path: root/js
diff options
context:
space:
mode:
authorAndrew Dolgov <fox@fakecake.org>2025-05-02 13:26:58 +0300
committerAndrew Dolgov <fox@fakecake.org>2025-05-02 13:26:58 +0300
commitaeca30cb0c6b26c569f66c5043690d5528fc481b (patch)
tree38d4659e8539d7e8588306c1fd36d4d21f453719 /js
parenta51c1d5176d0285a4fecc6e1e84d9f7dc4abaca5 (diff)
drop SIMPLE_UPDATE_MODE, limit housekeeping and updates to background processes
Diffstat (limited to 'js')
-rw-r--r--js/App.js5
-rw-r--r--js/Feeds.js7
2 files changed, 0 insertions, 12 deletions
diff --git a/js/App.js b/js/App.js
index 0c4c72f22..f1c4bc1c3 100644
--- a/js/App.js
+++ b/js/App.js
@@ -829,11 +829,6 @@ const App = {
Headlines.initScrollHandler();
- if (this.getInitParam("simple_update")) {
- console.log("scheduling simple feed updater...");
- window.setInterval(() => { Feeds.updateRandom() }, 30 * 1000);
- }
-
if (this.getInitParam('check_for_updates')) {
window.setInterval(() => {
this.checkForUpdates();
diff --git a/js/Feeds.js b/js/Feeds.js
index 9088b7efc..7a58a10a4 100644
--- a/js/Feeds.js
+++ b/js/Feeds.js
@@ -743,13 +743,6 @@ const Feeds = {
dialog.show();
},
- updateRandom: function() {
- console.log("in update_random_feed");
-
- xhr.json("backend.php", {op: "RPC", method: "updaterandomfeed"}, () => {
- //
- });
- },
renderIcon: function(feed_id, exists) {
const icon_url = App.getInitParam("icons_url") + '?' + dojo.objectToQuery({op: 'feed_icon', id: feed_id});