:hedgehog: PostHog is the leading platform for building self-driving products. Our developer tools – AI observability, analytics, session replay, flags, experiments, error tracking, logs, and more – capture all the context agents need to diagnose problems, uncover opportunities, and ship fixes. Steer it all from Slack, web, desktop, or the MCP.
Python ab-testingai-analyticsanalyticscdpdata-warehouseexperimentsfeature-flagsjavascriptproduct-analyticspythonreactsession-replaysurveystypescriptweb-analytics
chore(ci): flush the ClickHouse Kafka engine every 100 ms in dev and CI (#90709)
José Sequeirafc327845eed6
diff --git a/.github/workflows/ci-nodejs.yml b/.github/workflows/ci-nodejs.ymlindex 1d4bd43e75bf..f2ad105136e7 100644--- a/.github/workflows/ci-nodejs.yml+++ b/.github/workflows/ci-nodejs.yml@@ -85,6 +85,9 @@ jobs:# so no app image is built here. Dockerfile.node is gated separately in# ci-nodejs-container.yml.- 'docker*.yml'+ # The compose stack mounts this ClickHouse config; the Kafka engine settings+ # in it set how long every ClickHouse-backed Jest test waits for a row.+ - 'docker/clickhouse/**'rust:- 'rust/**'- 'proto/**'diff --git a/docker/clickhouse/users-dev.xml b/docker/clickhouse/users-dev.xmlindex 1a784485f3f4..af4b2f46f570 100644--- a/docker/clickhouse/users-dev.xml+++ b/docker/clickhouse/users-dev.xml@@ -46,7 +46,7 @@<number_of_mutations_to_throw>1</number_of_mutations_to_throw><stream_poll_timeout_ms>50</stream_poll_timeout_ms>- <stream_flush_interval_ms>500</stream_flush_interval_ms>+ <stream_flush_interval_ms>100</stream_flush_interval_ms><!-- Development performance optimizations --><max_threads>2</max_threads>