From 40e354dd5a33bc5bca012a143313320d6e6d3366 Mon Sep 17 00:00:00 2001
From: Ilias Dimopoulos <idimopoulos@hotmail.com>
Date: Mon, 3 Mar 2025 13:20:11 +0200
Subject: [PATCH] ISAICP-9536: Lower the number of nids per batch.

---
 web/modules/custom/joinup_core/joinup_core.deploy.php | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/web/modules/custom/joinup_core/joinup_core.deploy.php b/web/modules/custom/joinup_core/joinup_core.deploy.php
index 0130856b02..f7429ad7f8 100644
--- a/web/modules/custom/joinup_core/joinup_core.deploy.php
+++ b/web/modules/custom/joinup_core/joinup_core.deploy.php
@@ -207,7 +207,7 @@ function joinup_core_deploy_200305(array &$sandbox): string {
     $sandbox['progress'] = 0;
   }
 
-  $nids = array_splice($sandbox['nids'], 0, 100);
+  $nids = array_splice($sandbox['nids'], 0, 50);
   $storage = \Drupal::entityTypeManager()->getStorage('node');
   $storage->delete($storage->loadMultiple($nids));
 
-- 
GitLab