mirror of
https://github.com/syuilo/ai.git
synced 2024-11-24 22:01:07 +00:00
Fix bug
This commit is contained in:
parent
1480e3d2a4
commit
97ff5cae05
|
@ -44,7 +44,7 @@ export default class ServerModule implements IModule {
|
||||||
});
|
});
|
||||||
|
|
||||||
setInterval(() => {
|
setInterval(() => {
|
||||||
this.statsLogs.push(this.recentStat);
|
this.statsLogs.unshift(this.recentStat);
|
||||||
if (this.statsLogs.length > 60) this.statsLogs.pop();
|
if (this.statsLogs.length > 60) this.statsLogs.pop();
|
||||||
}, 1000);
|
}, 1000);
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue