From 5168895aa731dd87f62615348ec009333125abe1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tom=C3=A1s=20Far=C3=ADas=20Santana?= Date: Fri, 6 Oct 2023 10:06:47 +0200 Subject: [PATCH] fix(s3-batch-exports): Do not abort s3 upload (#17829) --- posthog/temporal/workflows/s3_batch_export.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/posthog/temporal/workflows/s3_batch_export.py b/posthog/temporal/workflows/s3_batch_export.py index 6db75b007c69e..7c6fff8e0f4b6 100644 --- a/posthog/temporal/workflows/s3_batch_export.py +++ b/posthog/temporal/workflows/s3_batch_export.py @@ -230,10 +230,6 @@ async def __aenter__(self): return self async def __aexit__(self, exc_type, exc_value, traceback) -> bool: - if exc_type == asyncio.CancelledError: - # Ensure we clean-up the cancelled upload. - await self.abort() - return False