Explorar el Código

clientv3: specify watch progress notify interval

For watch request
Gyu-Ho Lee hace 9 años
padre
commit
be38c50567
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      clientv3/op.go

+ 2 - 1
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) {