Skip to content

Commit

Permalink
fix: Try to resolve heap memory errors
Browse files Browse the repository at this point in the history
  • Loading branch information
darunrs committed Nov 29, 2023
1 parent c028f92 commit 8fa96e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runner/src/stream-handler/worker.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ function incrementId (id: string): string {
}

async function blockQueueProducer (workerContext: WorkerContext, streamKey: string): Promise<void> {
const HISTORICAL_BATCH_SIZE = 100;
const HISTORICAL_BATCH_SIZE = 10;
let streamMessageStartId = '0';

while (true) {
Expand Down

0 comments on commit 8fa96e2

Please sign in to comment.