Skip to content

Commit

Permalink
fix: in optimistic mode, use high retry interval
Browse files Browse the repository at this point in the history
  • Loading branch information
doomsower committed Feb 3, 2025
1 parent dd6b1bd commit fab4284
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/RedstoneServiceV3.ts
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ export class RedstoneServiceV3 {
// so just retry all redstone errors
const dataPayload = await retry(
() => wrapper.prepareRedstonePayload(true),
{ attempts: 5 },
{ attempts: 5, interval: this.#optimisticTimestamp ? 30_500 : 250 },
);

// unsigned metadata looks like
Expand Down

0 comments on commit fab4284

Please sign in to comment.