mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Increase execution retry attempts to allow swift runtime time to cold start
This commit is contained in:
parent
0d3b627176
commit
aa091a2afc
1 changed files with 1 additions and 1 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Reference in a new issue