stream: actually read coalesce-writes setting from config (#30353)
This commit is contained in:
parent
53727df35a
commit
dd289e7e2e
1 changed files with 3 additions and 1 deletions
|
|
@ -778,7 +778,9 @@ object IOSettings {
|
||||||
"Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead",
|
"Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead",
|
||||||
"2.6.0")
|
"2.6.0")
|
||||||
def apply(config: Config): IOSettings =
|
def apply(config: Config): IOSettings =
|
||||||
new IOSettings(tcpWriteBufferSize = math.min(Int.MaxValue, config.getBytes("tcp.write-buffer-size")).toInt)
|
new IOSettings(
|
||||||
|
tcpWriteBufferSize = math.min(Int.MaxValue, config.getBytes("tcp.write-buffer-size")).toInt,
|
||||||
|
coalesceWrites = config.getInt("tcp.coalesce-writes"))
|
||||||
|
|
||||||
@deprecated(
|
@deprecated(
|
||||||
"Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead",
|
"Use setting 'akka.stream.materializer.io.tcp.write-buffer-size' or attribute TcpAttributes.writeBufferSize instead",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue