From d1d79a37b70608158c117b97cc84b65a2f623b24 Mon Sep 17 00:00:00 2001 From: Jiiks Date: Fri, 8 Mar 2019 13:58:46 +0200 Subject: [PATCH] Start updater and set interval to 30 minutes --- core/src/main.js | 2 +- core/src/modules/updater.js | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main.js b/core/src/main.js index b102f38a..18cd626a 100644 --- a/core/src/main.js +++ b/core/src/main.js @@ -226,7 +226,7 @@ export class BetterDiscord { configProxy = () => this.config; const autoInitComms = this.comms; const autoInitEditor = this.editor; - const autoInitUpdater = this.updater; + this.updater.start(); this.init(); } diff --git a/core/src/modules/updater.js b/core/src/modules/updater.js index 5fe688ba..f08c78fc 100644 --- a/core/src/modules/updater.js +++ b/core/src/modules/updater.js @@ -152,7 +152,7 @@ export default class Updater extends Module { } } - start(interval = 15) { + start(interval = 30) { this.updaterThread = setInterval(this.checkForUpdates, interval * 60 * 1000); }