mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
Merge pull request #12076 from cfc4n/automated-cherry-pick-of-#11987-upstream-release-3.4
Automated cherry pick of #11987
This commit is contained in:
commit
2acdf88406
@ -30,9 +30,8 @@ import (
|
|||||||
var (
|
var (
|
||||||
// chanBufLen is the length of the buffered chan
|
// chanBufLen is the length of the buffered chan
|
||||||
// for sending out watched events.
|
// for sending out watched events.
|
||||||
// TODO: find a good buf value. 1024 is just a random one that
|
// See https://github.com/etcd-io/etcd/issues/11906 for more detail.
|
||||||
// seems to be reasonable.
|
chanBufLen = 128
|
||||||
chanBufLen = 1024
|
|
||||||
|
|
||||||
// maxWatchersPerSync is the number of watchers to sync in a single batch
|
// maxWatchersPerSync is the number of watchers to sync in a single batch
|
||||||
maxWatchersPerSync = 512
|
maxWatchersPerSync = 512
|
||||||
|
Loading…
x
Reference in New Issue
Block a user