Skip to content

Commit

Permalink
Use config buffersize to aggregate frames
Browse files Browse the repository at this point in the history
  • Loading branch information
Sheikah45 committed Oct 12, 2023
1 parent 4063006 commit f2d31b8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@ class FafLobbyClient(
return webSocketClient
.uri(config.url)
.handle { inbound, outbound ->
val inboundMono = inbound.aggregateFrames(100 * 1024 * 1024)
val inboundMono = inbound.aggregateFrames(config.bufferSize)
.receive()
.asString(Charsets.UTF_8)
.doOnError { LOG.error("Inbound channel closed with error", it) }
Expand Down

0 comments on commit f2d31b8

Please sign in to comment.