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