OpenPanel is an open-source web and product analytics platform, an open-source alternative to Mixpanel with optional self-hosting.
remove async insert
Carl-Gerhard Lindesvärd70682c218f5f
diff --git a/packages/db/src/buffers/event-buffer.test.ts b/packages/db/src/buffers/event-buffer.test.tsindex 1babc51bf..a321f57b2 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.tsindex be55866a8..373a6573c 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 batchesmax_execution_time: 300,