Update AsyncTdMiddleEventBusServer.java
This commit is contained in:
parent
606cd23deb
commit
e9dd378765
@ -240,6 +240,7 @@ public class AsyncTdMiddleEventBusServer {
|
|||||||
.replace(" = ", "="));
|
.replace(" = ", "="));
|
||||||
}
|
}
|
||||||
}).bufferTimeout(tdOptions.getEventsSize(), local ? Duration.ofMillis(1) : Duration.ofMillis(100))
|
}).bufferTimeout(tdOptions.getEventsSize(), local ? Duration.ofMillis(1) : Duration.ofMillis(100))
|
||||||
|
.filter(l -> !l.isEmpty())
|
||||||
.windowTimeout(1, Duration.ofSeconds(5))
|
.windowTimeout(1, Duration.ofSeconds(5))
|
||||||
.flatMap(w -> w.defaultIfEmpty(Collections.emptyList()))
|
.flatMap(w -> w.defaultIfEmpty(Collections.emptyList()))
|
||||||
.map(TdResultList::new).doFinally(s -> {
|
.map(TdResultList::new).doFinally(s -> {
|
||||||
|
Loading…
Reference in New Issue
Block a user