Skip to content

Commit

Permalink
Increase gRPC request timeout to 45 seconds
Browse files Browse the repository at this point in the history
Signed-off-by: Nishant Totla <nishanttotla@gmail.com>
  • Loading branch information
nishanttotla committed Oct 2, 2017
1 parent 144ddc5 commit 3dbe6ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion manager/state/raft/raft.go
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ func NewNode(opts NodeOptions) *Node {
opts.TickInterval = time.Second
}
if opts.SendTimeout == 0 {
opts.SendTimeout = 2 * time.Second
opts.SendTimeout = 45 * time.Second
}

raftStore := raft.NewMemoryStorage()
Expand Down

0 comments on commit 3dbe6ea

Please sign in to comment.