posthog
posthog copied to clipboard
feat: Cancel running backfills on reaching failure threshold
Problem
Besides pausing batch exports when they exceed a failure threshold, they should also cancel any ongoing backfills.
Changes
- Cancel ongoing backfills when finishing a batch export if reached failure threshold.
👉 Stay up-to-date with PostHog coding conventions for a smoother review.
Does this work well for both Cloud and self-hosted?
How did you test this code?
Added a unit test.
This PR hasn't seen activity in a week! Should it be merged, closed, or further worked on? If you want to keep it open, post a comment or remove the stale label – otherwise this will be closed in another week.