forked from Galactic/modmail
cache handler bugfix
This commit is contained in:
parent
953431032e
commit
47e2f83708
@ -35,7 +35,7 @@ class Cache {
|
|||||||
}
|
}
|
||||||
|
|
||||||
this.cacheSaveInterval = setInterval(this.save.bind(this), 10 * 60 * 1000);
|
this.cacheSaveInterval = setInterval(this.save.bind(this), 10 * 60 * 1000);
|
||||||
this.modmailSaveInterval = setInterval(this.save.bind(this), this.saveInterval * 60 * 1000, this.client.modmail);
|
this.modmailSaveInterval = setInterval(this.saveModmailHistory.bind(this), this.saveInterval * 60 * 1000, this.client.modmail);
|
||||||
this._ready = true;
|
this._ready = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user