Skip to content

Commit

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

0 comments on commit 0a96662

Please sign in to comment.