Merge pull request #12075 from cfc4n/automated-cherry-pick-of-#11987-upstream-release-3.3

Automated cherry pick of #11987
This commit is contained in:
Gyuho Lee 2020-06-26 11:29:41 -07:00 committed by GitHub
commit 3076b616ab
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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