From 0920954274f8ce80890b11fc0220d2d7636d64ac Mon Sep 17 00:00:00 2001 From: Rui Carmo Date: Tue, 29 Mar 2016 22:23:57 +0100 Subject: [PATCH] comments --- piku.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/piku.py b/piku.py index 1a4535c..6a87baa 100644 --- a/piku.py +++ b/piku.py @@ -141,7 +141,7 @@ def deploy_python(app, workers): h.write("%s = %s\n" % (k, v)) echo("-----> Enabling '%s' at port %d" % (app, port), fg='green') os.unlink(enabled) - sleep(5) + sleep(5) # TODO: replace this with zmq signalling shutil.copyfile(available, enabled) @@ -251,7 +251,7 @@ def restart_app(app): echo("Restarting app '%s'..." % app, fg='yellow') # Destroying the original file signals uWSGI to kill the vassal instead of reloading it os.unlink(enabled) - sleep(5) + sleep(5) # TODO: replace this with zmq signalling shutil.copyfile(available, enabled) else: echo("Error: app '%s' not enabled!" % app, fg='red')