Start updater and set interval to 30 minutes

This commit is contained in:
Jiiks 2019-03-08 13:58:46 +02:00
parent d95592acc9
commit d1d79a37b7
2 changed files with 2 additions and 2 deletions

View File

@ -226,7 +226,7 @@ export class BetterDiscord {
configProxy = () => this.config; configProxy = () => this.config;
const autoInitComms = this.comms; const autoInitComms = this.comms;
const autoInitEditor = this.editor; const autoInitEditor = this.editor;
const autoInitUpdater = this.updater; this.updater.start();
this.init(); this.init();
} }

View File

@ -152,7 +152,7 @@ export default class Updater extends Module {
} }
} }
start(interval = 15) { start(interval = 30) {
this.updaterThread = setInterval(this.checkForUpdates, interval * 60 * 1000); this.updaterThread = setInterval(this.checkForUpdates, interval * 60 * 1000);
} }