]> _ Git - fluidbook-toolbox.git/commitdiff
wip #5725 @0.5
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 Feb 2023 09:42:46 +0000 (10:42 +0100)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Mon, 13 Feb 2023 09:42:46 +0000 (10:42 +0100)
app/Fluidbook/Farm.php

index 9bb1fddb63121b34da889221c60b53b33fad0906..91b29488037a0338b65fcd61153035e600441c94 100644 (file)
@@ -10,17 +10,17 @@ use hollodotme\FastCGI\SocketConnections\NetworkSocket;
 class Farm
 {
     protected static $_farmServers = [
-        ['name' => 'alphaville', 'host' => 'fluidbook-processfarm', 'port' => 9000, 'weight' => 24],
-        //['name' => 'brazil', 'host' => 'brazil.cubedesigners.com', 'weight' => 6],
-        ['name' => 'clockwork', 'host' => 'clockwork.cubedesigners.com', 'weight' => 2],
-        ['name' => 'dracula', 'host' => 'dracula.cubedesigners.com', 'weight' => 3],
-        ['name' => 'elephantman', 'host' => 'elephantman.cubedesigners.com', 'weight' => 1],
-        ['name' => 'fastandfurious', 'host' => 'fastandfurious.cubedesigners.com', 'weight' => 1],
-        ['name' => 'godzilla', 'host' => 'godzilla.cubedesigners.com', 'weight' => 3],
-        ['name' => 'her', 'host' => 'her2.cubedesigners.com', 'weight' => 4],
-        ['name' => 'isleofdogs', 'host' => 'paris.cubedesigners.com', 'port' => 9458, 'weight' => 2],
-        ['name' => 'jumanji', 'host' => 'paris.cubedesigners.com', 'port' => 9459, 'weight' => 2],
-        //['name' => 'kingkong', 'host' => 'kingkong.cubedesigners.com',  'weight' => 2],
+        ['name' => 'alphaville', 'host' => 'fluidbook-processfarm', 'port' => 9000, 'weight' => 24, 'region' => 'UE'],
+        ['name' => 'brazil', 'host' => 'brazil.cubedesigners.com', 'weight' => 2, 'region' => 'US'],
+        ['name' => 'clockwork', 'host' => 'clockwork.cubedesigners.com', 'weight' => 2, 'region' => 'UE'],
+        ['name' => 'dracula', 'host' => 'dracula.cubedesigners.com', 'weight' => 3, 'region' => 'UE'],
+        ['name' => 'elephantman', 'host' => 'elephantman.cubedesigners.com', 'weight' => 1, 'region' => 'UE'],
+        ['name' => 'fastandfurious', 'host' => 'fastandfurious.cubedesigners.com', 'weight' => 1, 'region' => 'UE'],
+        ['name' => 'godzilla', 'host' => 'godzilla.cubedesigners.com', 'weight' => 3, 'region' => 'UE'],
+        ['name' => 'her', 'host' => 'her2.cubedesigners.com', 'weight' => 4, 'region' => 'UE'],
+        ['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'],
     ];
 
     protected static function _pingCache()