From 7170ffc281bd6c8d8e357d64be2295c7ac026282 Mon Sep 17 00:00:00 2001 From: c-bordon Date: Wed, 17 Apr 2024 12:46:42 -0300 Subject: [PATCH] Reduced the sleep time and increased the attempts --- deployability/modules/allocation/allocation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deployability/modules/allocation/allocation.py b/deployability/modules/allocation/allocation.py index 1818aa8633..802da474b6 100755 --- a/deployability/modules/allocation/allocation.py +++ b/deployability/modules/allocation/allocation.py @@ -188,7 +188,7 @@ def __generate_track_file(instance: Instance, provider_name: str, track_path: P return track_path @staticmethod - def __check_connection(inventory: models.InventoryOutput, attempts=15, sleep=60) -> None: + def __check_connection(inventory: models.InventoryOutput, attempts=30, sleep=30) -> None: """ Checks if the ssh connection is successful.