Skip to content

Commit 473f039

Browse files
MarcoZuiderwijkBSlukebakken
authored andcommitted
Removed ReceiveBufferSize and SendBufferSize to improve message rates
1 parent 739a46a commit 473f039

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

projects/RabbitMQ.Client/client/api/ConnectionFactoryBase.cs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -51,9 +51,7 @@ public static ITcpClient DefaultSocketFactory(AddressFamily addressFamily)
5151
{
5252
var socket = new Socket(addressFamily, SocketType.Stream, ProtocolType.Tcp)
5353
{
54-
NoDelay = true,
55-
ReceiveBufferSize = 65536,
56-
SendBufferSize = 65536
54+
NoDelay = true
5755
};
5856
return new TcpClientAdapter(socket);
5957
}

0 commit comments

Comments
 (0)