diff --git a/lambda/src/main/scala/pricemigrationengine/handlers/NotificationHandler.scala b/lambda/src/main/scala/pricemigrationengine/handlers/NotificationHandler.scala index ea3493da..b6ba2403 100644 --- a/lambda/src/main/scala/pricemigrationengine/handlers/NotificationHandler.scala +++ b/lambda/src/main/scala/pricemigrationengine/handlers/NotificationHandler.scala @@ -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 => {