]> _ Git - fluidbook_tools.git/commitdiff
wip #4947
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 7 Dec 2021 18:45:47 +0000 (19:45 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 7 Dec 2021 18:45:47 +0000 (19:45 +0100)
src/Jobs/ProcessPage.php

index 89e80278960615f46b619408841375618620ed6b..f9df4fda40cbbb992201462e9f15a3689472bc55 100644 (file)
@@ -102,8 +102,6 @@ class ProcessPage implements ShouldQueue
 
     public function splitDoc()
     {
-
-
         $lock = $this->getPDFInput() . '.split.lock';
         $returnAfterSleep = false;
 
@@ -115,6 +113,8 @@ class ProcessPage implements ShouldQueue
             return;
         }
 
+        usleep(rand(100000, 2000000));
+
         start_measure('Split PDF');
         touch($lock);