Skip to content

Commit

Permalink
chore: Make BadRequest non-retryable in bigquery
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasfarias committed Mar 22, 2024
1 parent fcc192e commit 925e739
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/temporal/batch_exports/bigquery_batch_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ async def run(self, inputs: BigQueryBatchExportInputs):
initial_interval=dt.timedelta(seconds=10),
maximum_interval=dt.timedelta(seconds=60),
maximum_attempts=0,
non_retryable_error_types=["NotNullViolation", "IntegrityError"],
non_retryable_error_types=["NotNullViolation", "IntegrityError", "BadRequest"],
),
)

Expand Down

0 comments on commit 925e739

Please sign in to comment.