disable keep alive clickhouse

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-03-08 11:08:59 +01:00
parent cb53072bf7
commit 8b346f8466

View File

@@ -6,9 +6,8 @@ export const ch = createClient({
password: process.env.CLICKHOUSE_PASSWORD,
database: process.env.CLICKHOUSE_DB,
keep_alive: {
enabled: true,
enabled: false,
retry_on_expired_socket: true,
socket_ttl: 2500,
},
});