From 9bf84d290fdabc53acbe49eae5dd9bd71dd4a23f Mon Sep 17 00:00:00 2001 From: Bilal Baqar Date: Wed, 18 Nov 2015 01:12:39 -0800 Subject: [PATCH] Increasing wait between stop starts --- hooks/pg_gw_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hooks/pg_gw_utils.py b/hooks/pg_gw_utils.py index 4b3185a..d84cfa3 100644 --- a/hooks/pg_gw_utils.py +++ b/hooks/pg_gw_utils.py @@ -140,10 +140,10 @@ def restart_pg(): Stops and Starts PLUMgrid service after flushing iptables. ''' service_stop('plumgrid') - time.sleep(2) + time.sleep(30) _exec_cmd(cmd=['iptables', '-F']) service_start('plumgrid') - time.sleep(5) + time.sleep(30) def stop_pg():