Skip to content

Commit

Permalink
Merge pull request #49 from jolicode/fix-worker
Browse files Browse the repository at this point in the history
Fix worker stop at very first stack build
  • Loading branch information
lyrixx authored Jan 8, 2020
2 parents 823f39e + 311d7ba commit 9bd0259
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions fabfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -168,10 +168,9 @@ def stop_workers():
"""
Stop the workers
"""
# local('docker update --restart=no $(docker ps -a --filter "Name=%s_worker" --quiet)' % (env.project_name))
#
# if os.path.exists(env.root_dir + "/" + env.project_directory + "/vendor/symfony/messenger"):
# with quiet():
# with quiet():
# local('docker update --restart=no $(docker ps -a --filter "Name=%s_worker" --quiet)' % (env.project_name))
# if os.path.exists(env.root_dir + "/" + env.project_directory + "/vendor/symfony/messenger"):
# docker_compose_run('bin/console messenger:stop-workers')


Expand Down

0 comments on commit 9bd0259

Please sign in to comment.