From a67978db61ed37ae494baabb2efe78795f355165 Mon Sep 17 00:00:00 2001 From: Keith James Date: Fri, 25 Oct 2024 14:26:11 +0100 Subject: [PATCH] Increase email batch size to 100 --- src/npg_notify/ont/event.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/npg_notify/ont/event.py b/src/npg_notify/ont/event.py index a14dffc..01b235b 100644 --- a/src/npg_notify/ont/event.py +++ b/src/npg_notify/ont/event.py @@ -280,7 +280,7 @@ def run_email_tasks( number of errors encountered. """ np = ns = ne = 0 - batch_size = 1 + batch_size = 100 for task in pipeline.claim(batch_size): try: