]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6642 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 19 Jan 2024 08:54:32 +0000 (09:54 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Fri, 19 Jan 2024 08:54:32 +0000 (09:54 +0100)
app/Jobs/FluidbookDocumentFileProcess.php

index 6cee64b0022b31d7c6c4868f3da2234a4527e7cc..25b78f2959c718bd17df14e622fd3290302531c3 100644 (file)
@@ -54,7 +54,7 @@ class FluidbookDocumentFileProcess extends Base
 
     public function setFinish($finish = true)
     {
-        Cache::put('job_' . $this->path, $finish, 300);
+        Cache::put('job_' . $this->path, $finish, 1200);
     }
 
 
@@ -78,7 +78,7 @@ class FluidbookDocumentFileProcess extends Base
 
     public function isError()
     {
-        return $this->finish && !$this->isOK();
+        return $this->isFinish() && !$this->isOK();
     }
 
     /**