fixed queue and finished initial qm work
This commit is contained in:
parent
52436c69b2
commit
00fbd31364
4 changed files with 45 additions and 56 deletions
|
|
@ -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 }, {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue