Skip to content

Commit

Permalink
VACMS-14683: Adds check for 1st run
Browse files Browse the repository at this point in the history
  • Loading branch information
omahane committed May 2, 2024
1 parent c06b99f commit 5616f3c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public function __construct() {
* Sandbox variable for keeping state during batches.
*/
public function run(array &$sandbox) {
if ($this->runCount % 1000 === 0) {
if (($this->runCount > 1) && ($this->runCount % 1000 === 0)) {
sleep(120);
}
$node_storage = get_node_storage();
Expand Down

0 comments on commit 5616f3c

Please sign in to comment.