Skip to content

Commit 368c8f6

Browse files
committed
Increase context timeouts
1 parent 09537ee commit 368c8f6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

discovery/endpoints.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ import (
1717
)
1818

1919
const (
20-
discoveryTimeout = time.Second * 10
20+
discoveryTimeout = time.Second * 30
2121
)
2222

2323
// Value reads a value from a discovery url.

join/join.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ import (
2121
type Strategy string
2222

2323
const (
24-
livenessTimeout = time.Second * 5
25-
etcdTimeout = time.Second * 5
24+
livenessTimeout = time.Second * 10
25+
etcdTimeout = time.Second * 30
2626

2727
// PreparedStrategy assumes that the admin prepares new member entries.
2828
PreparedStrategy = Strategy("prepared")

0 commit comments

Comments
 (0)