Merge pull request 'fix: extend PGSQL fail wait cycle' (#113) from fix/longer_fail_wait_cycle into main
Reviewed-on: #113
This commit is contained in:
commit
6b5b97ac9a
1 changed files with 2 additions and 2 deletions
|
|
@ -61,7 +61,7 @@ func CreateInstanceWaitHandler(
|
|||
maxWait := time.Minute * 90
|
||||
startTime := time.Now()
|
||||
extendedTimeout := 0
|
||||
maxFailedCount := 3
|
||||
maxFailedCount := 10
|
||||
failedCount := 0
|
||||
|
||||
handler := wait.New(
|
||||
|
|
@ -129,7 +129,7 @@ func CreateInstanceWaitHandler(
|
|||
},
|
||||
)
|
||||
var waitCounter int64 = 1
|
||||
maxWaitInt := big.NewInt(7)
|
||||
maxWaitInt := big.NewInt(10)
|
||||
n, randErr := rand.Int(rand.Reader, maxWaitInt)
|
||||
if randErr == nil {
|
||||
waitCounter = n.Int64() + 1
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue