Skip to content

Commit

Permalink
fix: increase wait for usable time (#902)
Browse files Browse the repository at this point in the history
  • Loading branch information
Cafe137 authored Feb 8, 2024
1 parent 7eea08f commit b98b97a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bee-debug.ts
Original file line number Diff line number Diff line change
Expand Up @@ -751,8 +751,8 @@ export class BeeDebug {
return stake.getRedistributionState(this.getRequestOptionsForCall(options))
}

private async waitForUsablePostageStamp(id: BatchId, timeout = 120_000): Promise<void> {
const TIME_STEP = 1500
private async waitForUsablePostageStamp(id: BatchId, timeout = 240_000): Promise<void> {
const TIME_STEP = 2_000
for (let time = 0; time < timeout; time += TIME_STEP) {
try {
const stamp = await this.getPostageBatch(id)
Expand Down

0 comments on commit b98b97a

Please sign in to comment.