Skip to content

: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.

chore(temporal): bump CH max query size to 1MB on temporal client (#61484)

Jovan Sakovic54ccd77ff06f
diff --git a/posthog/temporal/common/clickhouse.py b/posthog/temporal/common/clickhouse.py
index da4662eb6cb1..308c7e05f805 100644
--- a/posthog/temporal/common/clickhouse.py
+++ b/posthog/temporal/common/clickhouse.py
@@ -301,6 +301,8 @@ class ClickHouseClient:
if database:
self.params["database"] = database
+ self.params["max_query_size"] = "1048576" # 1MB
+
self.params.update(kwargs)
@classmethod