Skip to content

Commit fab4284

Browse files
committed
fix: in optimistic mode, use high retry interval
1 parent dd6b1bd commit fab4284

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/RedstoneServiceV3.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -386,7 +386,7 @@ export class RedstoneServiceV3 {
386386
// so just retry all redstone errors
387387
const dataPayload = await retry(
388388
() => wrapper.prepareRedstonePayload(true),
389-
{ attempts: 5 },
389+
{ attempts: 5, interval: this.#optimisticTimestamp ? 30_500 : 250 },
390390
);
391391

392392
// unsigned metadata looks like

0 commit comments

Comments
 (0)