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.

337 B
Raw Blame
from datetime import timedelta

CLOUD_RUN_HOURLY_LIMIT = 10
CLOUD_RUN_HOURLY_WINDOW = timedelta(hours=1)

CLOUD_RUN_DAILY_LIMIT = 20
CLOUD_RUN_DAILY_WINDOW = timedelta(days=1)

DISPATCH_RETRY_BASE_DELAY = timedelta(minutes=1)
DISPATCH_RETRY_MAX_DELAY = timedelta(hours=1)
DISPATCH_RETRY_MAX_ATTEMPTS = 5

WORKER_CLEANUP_MAX_ATTEMPTS = 5