: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
fix(batch-exports): bump Snowflake login timeout from 5s to 20s (#90944)
Ross3e4cc96e816e
diff --git a/products/batch_exports/backend/temporal/destinations/snowflake_batch_export.py b/products/batch_exports/backend/temporal/destinations/snowflake_batch_export.pyindex 47c72b094f7e..e628e41621dd 100644--- a/products/batch_exports/backend/temporal/destinations/snowflake_batch_export.py+++ b/products/batch_exports/backend/temporal/destinations/snowflake_batch_export.py@@ -634,7 +634,9 @@ class SnowflakeClient:# wrap role in quotes in case it contains lowercase or special charactersrole=f'"{self.role}"' if self.role is not None else None,private_key=self.private_key,- login_timeout=5,+ # Logins can be slow, and a login timeout raises a+ # non-retryable connection error, so allow extra time.+ login_timeout=20,# Pin Snowflake's per-session statement count to 1 to block# multi-statement execution. This is already the connector default,# but setting it explicitly means an account-level override cannot