From 035888c95d18dc10c808eb22190b98eb0df96522 Mon Sep 17 00:00:00 2001 From: Ben White <ben@posthog.com> Date: Wed, 17 Jan 2024 16:55:47 +0100 Subject: [PATCH] Added timeouts to assets --- posthog/tasks/exporter.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/posthog/tasks/exporter.py b/posthog/tasks/exporter.py index 69f968f207cea..44a7c86d2c32b 100644 --- a/posthog/tasks/exporter.py +++ b/posthog/tasks/exporter.py @@ -40,6 +40,8 @@ retry_backoff=True, acks_late=True, ignore_result=False, + soft_time_limit=30, + time_limit=60, ) def export_asset(exported_asset_id: int, limit: Optional[int] = None) -> None: from posthog.tasks.exports import csv_exporter, image_exporter