Fork me on GitHub
#aleph
<
2023-04-10
>
Matthew Davidson (kingmob)02:04:59

It's not directly exposed, but for setting options like that, you'll want to pass a bootstrap-transform fn. It's called last on the Netty Bootstrap object, so it can adjust the Bootstrap to whatever you want. E.g., you'd pass in:

:bootstrap-transform (fn [^Bootstrap b] (.option b ChannelOption/TCP_NODELAY true))
That being said, it looks like TCP_NODELAY is true by default in Netty code, for everything except Android.

oskarkv02:04:32

Thanks!

👍 2