]> _ Git - fluidbook-toolbox.git/commitdiff
wait #6269
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 12 Oct 2023 12:43:49 +0000 (14:43 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Thu, 12 Oct 2023 12:43:49 +0000 (14:43 +0200)
app/Fluidbook/Farm.php

index 82cf2dd366d369c78dab8c488e2bf57caa8f7e04..1a1bf86463a530a5b28eacfd992d79eb6ce65d03 100644 (file)
@@ -30,7 +30,7 @@ class Farm
         ['name' => 'isleofdogs', 'host' => 'paris.cubedesigners.com', 'port' => 9458, 'weight' => 2, 'region' => 'UE'],
         ['name' => 'jumanji', 'host' => 'paris.cubedesigners.com', 'port' => 9459, 'weight' => 2, 'region' => 'UE'],
         ['name' => 'kingkong', 'host' => 'kingkong.cubedesigners.com', 'weight' => 6, 'region' => 'US'],
-        ['name' => 'matrix', 'host' => 'matrix.cubedesigners.com', 'weight' => 2, 'region' => 'UE'],
+        //['name' => 'matrix', 'host' => 'matrix.cubedesigners.com', 'weight' => 2, 'region' => 'UE'],
     ];
 
     public static function forceServer($server)
@@ -196,10 +196,10 @@ class Farm
 
         if (!$res) {
             if ($attempts > 0) {
-                Log::warning('Farm failure ('.$farmer['name'].') : ' . $output);
+                Log::warning('Farm failure (' . $farmer['name'] . ') : ' . $output);
                 return static::_getFile($params, $attempts - 1);
             }
-            throw new \Exception('Farm failure  ('.$farmer['name'].')  : ' . $output);
+            throw new \Exception('Farm failure  (' . $farmer['name'] . ')  : ' . $output);
         }
 
         return $res;