Skip to content

Commit

Permalink
Merge pull request #1100 from guardian/ph-20241128-1516-splus
Browse files Browse the repository at this point in the history
ensure that the doNotProcessUntil value is at least 6 months in all cases
  • Loading branch information
shtukas authored Nov 28, 2024
2 parents 373347f + d49fdd6 commit 0f83eeb
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ object NotificationHandler extends CohortHandler {
CohortItem(
subscriptionName = item.subscriptionName,
processingStage = DoNotProcessUntil,
doNotProcessUntil = Some(cancellationDate.plusMonths(months * 2))
doNotProcessUntil = Some(cancellationDate.plusMonths(List(months * 2, 6).max))
)
)
} yield ()
Expand Down

0 comments on commit 0f83eeb

Please sign in to comment.