Skip to content

Commit

Permalink
update notifiation batch size
Browse files Browse the repository at this point in the history
  • Loading branch information
shtukas committed Sep 9, 2024
1 parent eb09c77 commit 6ea69d5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ object NotificationHandler extends CohortHandler {
today <- Clock.currentDateTime.map(_.toLocalDate)
count <- CohortTable
.fetch(SalesforcePriceRiceCreationComplete, Some(today.plusDays(maxLeadTime(cohortSpec))))
.take(1)
.take(batchSize)
.mapZIO(item =>
MigrationType(cohortSpec) match {
case SupporterPlus2024 => {
Expand Down

0 comments on commit 6ea69d5

Please sign in to comment.