disable clickhouse client keep-alive in docker
This commit is contained in:
parent
522265686e
commit
624c16b711
1 changed files with 6 additions and 1 deletions
|
|
@ -92,7 +92,12 @@ export const createClickHouseClient = (options: ClickHouseOptions): ClickHouseCl
|
|||
url: options.url,
|
||||
database: options.database,
|
||||
username: options.username,
|
||||
password: options.password
|
||||
password: options.password,
|
||||
// Bun can reach ClickHouse via fetch, but the Node agent keep-alive path
|
||||
// used by this client has been unreliable in our container deployment.
|
||||
keep_alive: {
|
||||
enabled: false
|
||||
}
|
||||
});
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue