Commit 010fd3c1 authored by Damien McKenna's avatar Damien McKenna Committed by Damien McKenna
Browse files

By DamienMcKenna: Run updates in batches of 100 records, not 10.

parent 3690bd71
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -8,6 +8,7 @@ Metatag 8.x-1.x-dev, 2023-xx-xx
  with regular arrays.
#3366285 by DamienMcKenna: Work out solution for binary data in Metatag v1
  fixture file.
By DamienMcKenna: Run updates in batches of 100 records, not 10.


Metatag 8.x-1.25, 2023-05-31
+2 −2
Original line number Diff line number Diff line
@@ -149,7 +149,7 @@ function metatag_post_update_convert_author_data(&$sandbox) {
  }
  else {
    // Begin the batch processing of individual field records.
    $max_per_batch = 10;
    $max_per_batch = 100;
    $counter = 1;

    $current_field = $sandbox['current_field'];
@@ -316,7 +316,7 @@ function metatag_post_update_remove_robots_noydir_noodp(&$sandbox) {
  }
  else {
    // Begin the batch processing of individual field records.
    $max_per_batch = 10;
    $max_per_batch = 100;
    $counter = 1;

    $current_field = $sandbox['current_field'];