Skip to content

Commit

Permalink
only retry failed early renewals due in the future
Browse files Browse the repository at this point in the history
  • Loading branch information
Changaco committed Sep 2, 2024
1 parent fac1807 commit 3522892
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion liberapay/models/participant.py
Original file line number Diff line number Diff line change
Expand Up @@ -2763,7 +2763,8 @@ def find_partial_match(new_sp, current_schedule_map):
if last_pt.id is None or
last_pt.status == 'succeeded' or
last_pt.status == 'failed' and
last_pt.ctime.date() < (tip.due_date - timedelta(weeks=1))
last_pt.ctime.date() < (tip.due_date - timedelta(weeks=1)) and
tip.due_date >= date(2024, 9, 4)
]

# Get the existing schedule
Expand Down

0 comments on commit 3522892

Please sign in to comment.