mirror of
https://github.com/syuilo/ai.git
synced 2024-11-22 13:17:59 +00:00
Fix bug
This commit is contained in:
parent
40306493ab
commit
75fee2b753
|
@ -43,7 +43,7 @@ export default class ServerModule implements IModule {
|
||||||
|
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
this.statsLogs.push(this.recentStat);
|
this.statsLogs.push(this.recentStat);
|
||||||
if (this.statsLogs.length > 60) this.statsLogs.unshift();
|
if (this.statsLogs.length > 60) this.statsLogs.pop();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
|
|
Loading…
Reference in a new issue