Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: download 20 S3 ingestion events at a time (#5306)

Max Deichmann7e24f5f42c03
diff --git a/worker/src/scripts/refill-ingestion-events.ts b/worker/src/scripts/refill-ingestion-events.ts
index 0148f53885..54b9accd84 100644
--- a/worker/src/scripts/refill-ingestion-events.ts
+++ b/worker/src/scripts/refill-ingestion-events.ts
@@ -47,7 +47,7 @@ const main = async () => {
const ingestionQueue = IngestionQueue.getInstance();
// Process each record
- const BATCH_SIZE = 50; // Process 100 events at a time
+ const BATCH_SIZE = 20;
for (let i = 0; i < unprocessedRecords.length; i += BATCH_SIZE) {
const batch = unprocessedRecords.slice(i, i + BATCH_SIZE);