Skip to content

Commit

Permalink
kv: Set default SendNextTimeout to a reasonable value
Browse files Browse the repository at this point in the history
Reverts #2973, which was a workaround for issues that have been more
cleanly resolved in #6688.
  • Loading branch information
bdarnell committed May 16, 2016
1 parent 7332e99 commit f9726a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kv/dist_sender.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ import (

// Default constants for timeouts.
const (
defaultSendNextTimeout = 10 * time.Second // for now; see #2500
defaultSendNextTimeout = 500 * time.Millisecond
defaultClientTimeout = 10 * time.Second

// The default maximum number of ranges to return from a range
Expand Down

0 comments on commit f9726a4

Please sign in to comment.