*: add experimental flag for watch notify interval

Signed-off-by: Gyuho Lee <leegyuho@amazon.com>
This commit is contained in:
jingyih
2020-08-13 20:52:19 -07:00
committed by Gyuho Lee
parent 8a4afdbcc2
commit c60dabf2f3
6 changed files with 25 additions and 2 deletions

View File

@@ -208,6 +208,7 @@ func StartEtcd(inCfg *Config) (e *Etcd, err error) {
UnsafeNoFsync: cfg.UnsafeNoFsync,
EnableLeaseCheckpoint: cfg.ExperimentalEnableLeaseCheckpoint,
CompactionBatchLimit: cfg.ExperimentalCompactionBatchLimit,
WatchProgressNotifyInterval: cfg.ExperimentalWatchProgressNotifyInterval,
}
print(e.cfg.logger, *cfg, srvcfg, memberInitialized)
if e.Server, err = etcdserver.NewServer(srvcfg); err != nil {