Remove unnecessary flushOnEach (since reactor-netty 0.9)
This commit is contained in:
committed by
Stephane Nicoll
parent
da54121ee0
commit
50a909908c
@@ -21,7 +21,6 @@ import reactor.core.publisher.Flux;
|
||||
import reactor.core.publisher.Mono;
|
||||
import reactor.netty.NettyInbound;
|
||||
import reactor.netty.NettyOutbound;
|
||||
import reactor.netty.NettyPipeline;
|
||||
import reactor.netty.http.websocket.WebsocketInbound;
|
||||
import reactor.netty.http.websocket.WebsocketOutbound;
|
||||
|
||||
@@ -90,7 +89,6 @@ public class ReactorNettyWebSocketSession
|
||||
})
|
||||
.map(this::toFrame);
|
||||
return getDelegate().getOutbound()
|
||||
.options(NettyPipeline.SendOptions::flushOnEach)
|
||||
.sendObject(frames)
|
||||
.then();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user