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.

521 B
Raw Blame
"""How long the suggested dashboards workflows may run. Free of imports, so the API and the workflows can share it."""

from datetime import timedelta

# Covers two attempts of the 10 minute analysis activity, and the generate starts after it.
SUGGEST_TIMEOUT = timedelta(minutes=30)
# Longer than the worst case of the generate workflow's activity timeouts and retries (about 2 hours),
# so that its finish step runs. The discovery sweep fails a generation that stopped without it.
GENERATE_TIMEOUT = timedelta(hours=3)