From d2c6e1d8cc6d567dd33df5a09acd3b7d03bdae76 Mon Sep 17 00:00:00 2001 From: Rick van de Loo Date: Thu, 29 Dec 2022 15:14:22 +0100 Subject: [PATCH] increase brancher node wait timeout in the event where there is not enough compute capacity available the system will start creating new cloud resources on the fly. in that case we should not give up too quickly but wait a bit longer. --- src/Brancher/BrancherHypernodeManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Brancher/BrancherHypernodeManager.php b/src/Brancher/BrancherHypernodeManager.php index d986204..27867cb 100644 --- a/src/Brancher/BrancherHypernodeManager.php +++ b/src/Brancher/BrancherHypernodeManager.php @@ -81,7 +81,7 @@ public function createForHypernode(string $hypernode, array $data = []): string * @throws HypernodeApiServerException * @throws TimeoutException */ - public function waitForAvailability(string $brancherHypernode, int $timeout = 900): void + public function waitForAvailability(string $brancherHypernode, int $timeout = 1500): void { $latest = microtime(true); $timeElapsed = 0;