Skip to content

Commit

Permalink
backport of commit f2a47b0 (hashicorp#19328)
Browse files Browse the repository at this point in the history
Co-authored-by: Jason O'Donnell <[email protected]>
  • Loading branch information
1 parent 9789259 commit 4406c2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions vault/cluster/inmem_layer.go
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,7 @@ func (l *InmemLayer) Dial(addr string, timeout time.Duration, tlsConfig *tls.Con
// gRPC sets a deadline of 20 seconds on the dail attempt, so
// matching that here.
time.Sleep(time.Second * 20)
l.l.Unlock()
return nil, deadlineError("i/o timeout")
}

Expand Down

0 comments on commit 4406c2b

Please sign in to comment.