Skip to content

Commit

Permalink
fix(batch-exports-backfill): Instantiate tuple when resuming from hea…
Browse files Browse the repository at this point in the history
…rtbeat (#18092)
  • Loading branch information
tomasfarias authored Oct 19, 2023
1 parent 4a4c327 commit be5cdb6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion posthog/temporal/workflows/backfill_batch_export.py
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ async def backfill_schedule(inputs: BackfillScheduleInputs) -> None:
if details:
# If we receive details from a previous run, it means we were restarted for some reason.
# Let's not double-backfill and instead wait for any outstanding runs.
last_activity_details = details[0]
last_activity_details = HeartbeatDetails(*details[0])

details = HeartbeatDetails(
schedule_id=inputs.schedule_id,
Expand Down

0 comments on commit be5cdb6

Please sign in to comment.