From aa091a2afc9cac3961c0f987bcd1631426e16213 Mon Sep 17 00:00:00 2001 From: Jake Barnby Date: Thu, 24 Feb 2022 14:55:11 +1300 Subject: [PATCH] Increase execution retry attempts to allow swift runtime time to cold start --- src/Executor/Executor.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Executor/Executor.php b/src/Executor/Executor.php index 5c28361fac..4b3953a357 100644 --- a/src/Executor/Executor.php +++ b/src/Executor/Executor.php @@ -129,7 +129,7 @@ class Executor $status = $response['headers']['status-code']; if ($status >= 400) { - for ($attempts = 0; $attempts < 5; $attempts++) { + for ($attempts = 0; $attempts < 10; $attempts++) { switch ($status) { case 404: $response = $this->createRuntime(