test clickhousr settings

This commit is contained in:
Carl-Gerhard Lindesvärd
2024-04-17 12:28:26 +02:00
committed by Carl-Gerhard Lindesvärd
parent 3a9fcf4915
commit 16b391797d

View File

@@ -5,10 +5,7 @@ export const ch = createClient({
username: process.env.CLICKHOUSE_USER, username: process.env.CLICKHOUSE_USER,
password: process.env.CLICKHOUSE_PASSWORD, password: process.env.CLICKHOUSE_PASSWORD,
database: process.env.CLICKHOUSE_DB, database: process.env.CLICKHOUSE_DB,
keep_alive: { max_open_connections: 100,
enabled: false,
retry_on_expired_socket: true,
},
}); });
interface ClickhouseJsonResponse<T> { interface ClickhouseJsonResponse<T> {