mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-12-04 13:32:13 +00:00
Enable keepalive only with patched poco
This commit is contained in:
parent
d31d30c8e1
commit
a0493a7cde
@ -80,7 +80,11 @@ namespace
|
||||
|
||||
session->setHost(DNSResolver::instance().resolveHost(host).toString());
|
||||
session->setPort(port);
|
||||
|
||||
/// doesn't work properly without patch
|
||||
#if POCO_CLICKHOUSE_PATCH
|
||||
session->setKeepAlive(keep_alive);
|
||||
#endif
|
||||
|
||||
return session;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user