Merge pull request #6241 from gyuho/progress-doc

clientv3: specify watch progress notify interval
This commit is contained in:
Gyu-Ho Lee 2016-08-22 15:59:01 -07:00 committed by GitHub
commit 722d66b03d

View File

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