From: Vincent Vanwaelscappel Date: Mon, 13 Feb 2023 09:42:46 +0000 (+0100) Subject: wip #5725 @0.5 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=c3168b10046d95253c9c68e96ad55ae2a6bb91a9;p=fluidbook-toolbox.git wip #5725 @0.5 --- diff --git a/app/Fluidbook/Farm.php b/app/Fluidbook/Farm.php index 9bb1fddb6..91b294880 100644 --- a/app/Fluidbook/Farm.php +++ b/app/Fluidbook/Farm.php @@ -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()