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(django): add missing personhog config (#60175)

Zach Brownbb58f3a30201
diff --git a/posthog/settings/personhog.py b/posthog/settings/personhog.py
index e5723b2fce5c..87c82766349b 100644
--- a/posthog/settings/personhog.py
+++ b/posthog/settings/personhog.py
@@ -14,3 +14,4 @@ PERSONHOG_INITIAL_RECONNECT_BACKOFF_MS = get_from_env("PERSONHOG_INITIAL_RECONNE
PERSONHOG_MAX_SEND_MESSAGE_LENGTH = get_from_env("PERSONHOG_MAX_SEND_MESSAGE_LENGTH", 4 * 1024 * 1024, type_cast=int)
PERSONHOG_MAX_RECV_MESSAGE_LENGTH = get_from_env("PERSONHOG_MAX_RECV_MESSAGE_LENGTH", 128 * 1024 * 1024, type_cast=int)
PERSONHOG_CLIENT_IDLE_TIMEOUT_MS = get_from_env("PERSONHOG_CLIENT_IDLE_TIMEOUT_MS", 0, type_cast=int)
+PERSONHOG_COMPRESSION_ENABLED = get_from_env("PERSONHOG_COMPRESSION_ENABLED", False, type_cast=str_to_bool)