Skip to content

Commit 74b87dd

Browse files
authored
Revert socket buffer default to fix performance issues.
1 parent d5b5255 commit 74b87dd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client-v2/src/main/java/com/clickhouse/client/api/ClientConfigProperties.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,9 +52,9 @@ public enum ClientConfigProperties {
5252

5353
SOCKET_OPERATION_TIMEOUT("socket_timeout", "0"),
5454

55-
SOCKET_RCVBUF_OPT("socket_rcvbuf", "8196"),
55+
SOCKET_RCVBUF_OPT("socket_rcvbuf", "804800"),
5656

57-
SOCKET_SNDBUF_OPT("socket_sndbuf", "8196"),
57+
SOCKET_SNDBUF_OPT("socket_sndbuf", "804800"),
5858

5959
SOCKET_REUSEADDR_OPT("socket_reuseaddr"),
6060

0 commit comments

Comments
 (0)