From 624c16b711e1a3b87f620f44b2bd1a80d734279d Mon Sep 17 00:00:00 2001 From: Kellan Drucquer Date: Sat, 4 Apr 2026 22:05:22 -0400 Subject: [PATCH] disable clickhouse client keep-alive in docker --- packages/storage/src/clickhouse.ts | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/packages/storage/src/clickhouse.ts b/packages/storage/src/clickhouse.ts index 730bdaf..45829dd 100644 --- a/packages/storage/src/clickhouse.ts +++ b/packages/storage/src/clickhouse.ts @@ -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 + } }); };