From f2bdd26c36e7074d093e001656bc649b7c7426d3 Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Wed, 1 Dec 2021 11:49:22 -0600 Subject: http-api: T3440: simplify vyos-http-api initialization --- src/conf_mode/http-api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/conf_mode') diff --git a/src/conf_mode/http-api.py b/src/conf_mode/http-api.py index 7e4b117c8..4bfcbeb47 100755 --- a/src/conf_mode/http-api.py +++ b/src/conf_mode/http-api.py @@ -100,7 +100,7 @@ def apply(http_api): call('systemctl stop vyos-http-api.service') # Let uvicorn settle before restarting Nginx - time.sleep(2) + time.sleep(1) cmd(f'{vyos_conf_scripts_dir}/https.py', raising=ConfigError) -- cgit v1.2.3