Start updater and set interval to 30 minutes
This commit is contained in:
parent
d95592acc9
commit
d1d79a37b7
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue