Skip to content

Commit

Permalink
ensure that the doNotProcessUntil value is at least 6 months
Browse files Browse the repository at this point in the history
  • Loading branch information
shtukas committed Nov 28, 2024
1 parent 373347f commit d49fdd6
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 d49fdd6

Please sign in to comment.