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