g r a m m a r

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle
2024-01-03 23:54:44 +07:00
parent 29cb8ab5ed
commit 91637c13f9

View File

@@ -221,7 +221,7 @@ function onClientDisconnect() {
const orphanSessNum = howManyOrphanSess();
const max = max_orphan_sess || 0;
if (orphanSessNum > max) {
console.log(process.pid, `There are ${orphanSessNum} of orphan session. I will clear ${orphanSessNum - max} of orphan sessions.`);
console.log(process.pid, `There are ${orphanSessNum} orphan sessions. I will clear ${orphanSessNum - max} of orphan sessions.`);
clearOrphanSess(orphanSessNum - max);
}
}