From 70682c218f5f3290009c991e9aff0582a2721782 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Carl-Gerhard=20Lindesva=CC=88rd?= Date: Wed, 5 Nov 2025 11:30:26 +0100 Subject: [PATCH] remove async insert --- packages/db/src/buffers/event-buffer.test.ts | 1 - packages/db/src/clickhouse/client.ts | 1 - 2 files changed, 2 deletions(-) diff --git a/packages/db/src/buffers/event-buffer.test.ts b/packages/db/src/buffers/event-buffer.test.ts index 1babc51b..a321f57b 100644 --- a/packages/db/src/buffers/event-buffer.test.ts +++ b/packages/db/src/buffers/event-buffer.test.ts @@ -11,7 +11,6 @@ import { import { ch } from '../clickhouse/client'; const clickhouseSettings = { - async_insert: 1, http_headers_progress_interval_ms: '50000', input_format_parallel_parsing: 1, max_execution_time: 300, diff --git a/packages/db/src/clickhouse/client.ts b/packages/db/src/clickhouse/client.ts index be55866a..373a6573 100644 --- a/packages/db/src/clickhouse/client.ts +++ b/packages/db/src/clickhouse/client.ts @@ -135,7 +135,6 @@ export const ch = new Proxy(originalCh, { withRetry(() => { args[0].clickhouse_settings = { // Allow bigger HTTP payloads/time to stream rows - async_insert: 1, wait_for_async_insert: 1, // Increase insert timeouts and buffer sizes for large batches max_execution_time: 300,