mirror of
https://github.com/nullnyat/NullcatChan.git
synced 2025-08-04 10:36:25 +09:00
Fix bug
This commit is contained in:
@ -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);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user