Skip to content

Commit

Permalink
Enable TCP_NODELAY by default
Browse files Browse the repository at this point in the history
  • Loading branch information
oraoto committed Sep 30, 2020
1 parent 8c9c421 commit eb5971f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clickhouse/client.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ struct ClientOptions {
DECLARE_FIELD(tcp_keepalive_cnt, unsigned int, SetTcpKeepAliveCount, 3);

// TCP options
DECLARE_FIELD(tcp_nodelay, bool, TcpNoDelay, false);
DECLARE_FIELD(tcp_nodelay, bool, TcpNoDelay, true);

#undef DECLARE_FIELD
};
Expand Down

0 comments on commit eb5971f

Please sign in to comment.