thing im pretty much done with extracting the queue and making it reususable, maybe just a few more change to be able to making the batch names a bit more specific

This commit is contained in:
Boki 2025-06-14 18:22:28 -04:00
parent ad5e353ec3
commit e8c90532d5
14 changed files with 117 additions and 93 deletions

View file

@ -35,7 +35,7 @@ async function debugBatchCleanup() {
// Process in batches
const result = await processItems(items, queueManager, {
totalDelayMs: 10000, // 10 seconds total
totalDelayHours: 0.0028, // 10 seconds
useBatching: true,
batchSize: 3, // This will create 3 batches: [3,3,1]
priority: 1,