Skip to content

Commit

Permalink
Merge pull request #137 from ChrisSchinnerl/chris/extend-subscription…
Browse files Browse the repository at this point in the history
…-rhp

Update blockedWithdrawalTimeout
  • Loading branch information
lukechampine authored Jul 7, 2022
2 parents 9c71482 + 428937a commit 0c91a08
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions modules/host/accountmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,12 @@ var (

// blockedWithdrawalTimeout is the amount of time after which a blocked
// withdrawal times out.
// NOTE: The standard case is set to 3 minutes since streams established
// by renters are commonly timing out after 5 minutes, thus hiding
// insufficient balance errors from the renter.
blockedWithdrawalTimeout = build.Select(build.Var{
Standard: 15 * time.Minute,
Dev: 5 * time.Minute,
Standard: 3 * time.Minute,
Dev: time.Minute,
Testing: 5 * time.Second,
}).(time.Duration)
)
Expand Down

0 comments on commit 0c91a08

Please sign in to comment.