fix: temporarily revert max retries (#510)
This commit is contained in:
@@ -396,6 +396,7 @@ export async function drainStreamWithResume(
|
||||
buffers.interrupted = false;
|
||||
|
||||
// Resume from Redis where we left off
|
||||
// TODO: Re-enable once issues are resolved - disabled retries were causing problems
|
||||
// Disable SDK retries - state management happens outside, retries would create race conditions
|
||||
const resumeStream = await client.runs.messages.stream(
|
||||
result.lastRunId,
|
||||
@@ -403,7 +404,7 @@ export async function drainStreamWithResume(
|
||||
starting_after: result.lastSeqId,
|
||||
batch_size: 1000, // Fetch buffered chunks quickly
|
||||
},
|
||||
{ maxRetries: 0 },
|
||||
// { maxRetries: 0 },
|
||||
);
|
||||
|
||||
// Continue draining from where we left off
|
||||
|
||||
Reference in New Issue
Block a user