Skip to content

Commit

Permalink
Merge branch '2.x' into port-pr-15510
Browse files Browse the repository at this point in the history
  • Loading branch information
cicdw authored Nov 7, 2024
2 parents 20fc7ad + 2421901 commit 5bd020a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/prefect/server/orchestration/core_policy.py
Original file line number Diff line number Diff line change
Expand Up @@ -451,7 +451,7 @@ async def before_transition(
run_count = context.run.run_count
delay = run_settings.retry_delay

if isinstance(delay, list):
if delay and isinstance(delay, list):
base_delay = delay[min(run_count - 1, len(delay) - 1)]
else:
base_delay = run_settings.retry_delay or 0
Expand Down

0 comments on commit 5bd020a

Please sign in to comment.