Reformat iterator

This commit is contained in:
Andrea Cavalli 2021-10-30 12:21:28 +02:00
parent 1ea004630e
commit 98dcb39ce1

View File

@ -74,8 +74,7 @@ public abstract class LLLocalReactiveRocksIterator<T> extends
}
public final Flux<T> flux() {
return Flux
.generate(() -> {
return Flux.generate(() -> {
var readOptions = new ReadOptions(this.readOptions);
if (!range.hasMin() || !range.hasMax()) {
readOptions.setReadaheadSize(32 * 1024); // 32KiB