fixed queue and finished initial qm work

This commit is contained in:
Boki 2025-06-28 08:31:59 -04:00
parent 52436c69b2
commit 00fbd31364
4 changed files with 45 additions and 56 deletions

View file

@ -43,7 +43,7 @@ export async function checkSessions(
const neededSessions = SESSION_CONFIG.MAX_SESSIONS - currentCount;
// Queue up to 10 at a time to avoid overwhelming the system
const toQueue = Math.min(neededSessions, 10);
const toQueue = Math.min(neededSessions, 20);
for (let i = 0; i < toQueue; i++) {
await this.scheduleOperation('create-session', { sessionId, sessionType }, {