style: prettier formatting

This commit is contained in:
Eyejoker
2026-03-25 07:09:01 +09:00
parent b6d3f879ef
commit ab408ab998
2 changed files with 10 additions and 3 deletions

View File

@@ -462,7 +462,7 @@ export class DiscordChannel implements Channel {
}
// Split files into batches of MAX_ATTACHMENTS
const fileBatches: typeof files[] = [];
const fileBatches: (typeof files)[] = [];
for (let i = 0; i < files.length; i += MAX_ATTACHMENTS) {
fileBatches.push(files.slice(i, i + MAX_ATTACHMENTS));
}

View File

@@ -95,7 +95,10 @@ export class GroupQueue {
enterRecoveryMode(): void {
this.recoveryMode = true;
logger.info(
{ maxConcurrent: RECOVERY_CONCURRENT_AGENTS, durationMs: RECOVERY_DURATION_MS },
{
maxConcurrent: RECOVERY_CONCURRENT_AGENTS,
durationMs: RECOVERY_DURATION_MS,
},
'Entering recovery mode (staggered restart)',
);
this.recoveryTimer = setTimeout(() => {
@@ -157,7 +160,11 @@ export class GroupQueue {
this.waitingGroups.push(groupJid);
}
logger.debug(
{ groupJid, activeCount: this.activeCount, max: this.effectiveMaxConcurrent },
{
groupJid,
activeCount: this.activeCount,
max: this.effectiveMaxConcurrent,
},
'At concurrency limit, message queued',
);
return;