storage: support watch on ranges
This commit is contained in:
@ -33,6 +33,6 @@ func BenchmarkKVWatcherMemoryUsage(b *testing.B) {
|
||||
b.ReportAllocs()
|
||||
b.StartTimer()
|
||||
for i := 0; i < b.N; i++ {
|
||||
w.Watch([]byte(fmt.Sprint("foo", i)), false, 0)
|
||||
w.Watch([]byte(fmt.Sprint("foo", i)), nil, 0)
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user