Skip to content

Commit

Permalink
Merge pull request #12076 from cfc4n/automated-cherry-pick-of-#11987-…
Browse files Browse the repository at this point in the history
…upstream-release-3.4

Automated cherry pick of #11987
  • Loading branch information
gyuho authored Jul 6, 2020
2 parents a8454e4 + 7b99863 commit 2acdf88
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions mvcc/watchable_store.go
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,8 @@ import (
var (
// chanBufLen is the length of the buffered chan
// for sending out watched events.
// TODO: find a good buf value. 1024 is just a random one that
// seems to be reasonable.
chanBufLen = 1024
// See https://github.com/etcd-io/etcd/issues/11906 for more detail.
chanBufLen = 128

// maxWatchersPerSync is the number of watchers to sync in a single batch
maxWatchersPerSync = 512
Expand Down

0 comments on commit 2acdf88

Please sign in to comment.