From be38c505674fe8fac99aa5abe062ea436c8a3948 Mon Sep 17 00:00:00 2001 From: Gyu-Ho Lee Date: Mon, 22 Aug 2016 15:16:42 -0700 Subject: [PATCH] clientv3: specify watch progress notify interval For watch request --- clientv3/op.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/clientv3/op.go b/clientv3/op.go index 4b4292692..cadea1f8e 100644 --- a/clientv3/op.go +++ b/clientv3/op.go @@ -287,7 +287,8 @@ func withTop(target SortTarget, order SortOrder) []OpOption { return []OpOption{WithPrefix(), WithSort(target, order), WithLimit(1)} } -// WithProgressNotify makes watch server send periodic progress updates. +// WithProgressNotify makes watch server send periodic progress updates +// every 10 minutes when there is no incoming events. // Progress updates have zero events in WatchResponse. func WithProgressNotify() OpOption { return func(op *Op) {