Skip to content

Commit

Permalink
Add minute timer after create to engine
Browse files Browse the repository at this point in the history
  • Loading branch information
Macr0Nerd committed Nov 13, 2024
1 parent 8b19ae1 commit 6f11710
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/forge/engine.py
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -54,6 +56,7 @@ def engine(config):

try:
create(config)
time.sleep(60)
status = rsync(config)
status = run(config)
except ExitHandlerException:
Expand Down

0 comments on commit 6f11710

Please sign in to comment.