Skip to content

Commit

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

Automated cherry pick of #11987
  • Loading branch information
gyuho authored Jun 26, 2020
2 parents c88a2c8 + 8c885ad commit 3076b61
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 @@ -28,9 +28,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 3076b61

Please sign in to comment.