From 3060b29d3e9cc523e38035ad063300650ad1b8bb Mon Sep 17 00:00:00 2001 From: Daesgar Date: Fri, 22 Nov 2024 16:52:35 +0100 Subject: [PATCH] chore: use posthog single-shard cluster for distributed_events_recent (#26339) --- docker/clickhouse/config.xml | 8 ++++++++ .../migrations/0087_events_recent_single_shard.py | 12 ++++++++++++ posthog/clickhouse/table_engines.py | 7 +++++-- posthog/models/event/sql.py | 6 +++++- posthog/settings/data_stores.py | 1 + 5 files changed, 31 insertions(+), 3 deletions(-) create mode 100644 posthog/clickhouse/migrations/0087_events_recent_single_shard.py diff --git a/docker/clickhouse/config.xml b/docker/clickhouse/config.xml index bc1c691f8b4..1eca858c32d 100644 --- a/docker/clickhouse/config.xml +++ b/docker/clickhouse/config.xml @@ -712,6 +712,14 @@ + + + + localhost + 9000 + + +