From 6f11710487e2e939db2adaa839abd9e54ef651cf Mon Sep 17 00:00:00 2001 From: "Gabriele A. Ron" Date: Wed, 13 Nov 2024 04:34:09 -0600 Subject: [PATCH] Add minute timer after create to engine --- src/forge/engine.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/forge/engine.py b/src/forge/engine.py index 5d96fb8..9a8bc69 100755 --- a/src/forge/engine.py +++ b/src/forge/engine.py @@ -1,6 +1,8 @@ """Run a command on remote EC2, rsync user content, and execute it.""" -import boto3 import logging +import time + +import boto3 from . import DEFAULT_ARG_VALS, REQUIRED_ARGS from .exceptions import ExitHandlerException @@ -54,6 +56,7 @@ def engine(config): try: create(config) + time.sleep(60) status = rsync(config) status = run(config) except ExitHandlerException: