Skip to content

Commit f26b646

Browse files
d-csclaude
andcommitted
docs(run-engine): document maxMs <= 0 (not just 0) as disabling the replica retry
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
1 parent f4dac20 commit f26b646

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

  • internal-packages/run-engine/src/engine

internal-packages/run-engine/src/engine/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ export type RunEngineOptions = {
209209
readReplicaSnapshotsSinceEnabled?: boolean;
210210
/** Jittered delay bounds for the single replica retry `getSnapshotsSince` performs when
211211
* the since snapshot is not yet on the replica, before falling back to the primary.
212-
* Set maxMs to 0 to skip the replica retry and go straight to the primary. */
212+
* Set maxMs to 0 (or any value <= 0) to skip the replica retry and go straight to the primary. */
213213
readReplicaSnapshotsSinceRetryDelay?: { minMs: number; maxMs: number };
214214
tracer: Tracer;
215215
meter?: Meter;

0 commit comments

Comments
 (0)