mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-11-25 17:12:03 +00:00
Connection: fixed error [#CONV-5331].
This commit is contained in:
parent
292958fc73
commit
0e099d8207
@ -20,9 +20,9 @@ namespace DB
|
||||
|
||||
void Connection::connect()
|
||||
{
|
||||
socket.connect(Poco::Net::SocketAddress(host, port), connect_timeout);
|
||||
socket.setReceiveTimeout(receive_timeout);
|
||||
socket.setSendTimeout(send_timeout);
|
||||
socket.connect(Poco::Net::SocketAddress(host, port), connect_timeout);
|
||||
|
||||
connected = true;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user