Skip to content

Commit

Permalink
Merge pull request #50 from carsdotcom/rsync_timer
Browse files Browse the repository at this point in the history
Add minute timer after create to engine
  • Loading branch information
Macr0Nerd authored Nov 14, 2024
2 parents 8b19ae1 + 6f11710 commit 0862ee9
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 0862ee9

Please sign in to comment.