summaryrefslogtreecommitdiff
path: root/src/conf_mode/http-api.py
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2021-12-01 11:49:22 -0600
committerJohn Estabrook <jestabro@vyos.io>2021-12-01 15:52:18 -0600
commitefbb2930dcc78ea1f870b5ae5467f1a576bbf08c (patch)
tree0a24febea1fcbd685c96328ad5c697b34e3d49f2 /src/conf_mode/http-api.py
parentd7a1d1d90e66d3a300b3056d4dc3556194aa9834 (diff)
downloadvyos-1x-efbb2930dcc78ea1f870b5ae5467f1a576bbf08c.tar.gz
vyos-1x-efbb2930dcc78ea1f870b5ae5467f1a576bbf08c.zip
http-api: T3440: simplify vyos-http-api initialization
(cherry picked from commit f2bdd26c36e7074d093e001656bc649b7c7426d3)
Diffstat (limited to 'src/conf_mode/http-api.py')
-rwxr-xr-xsrc/conf_mode/http-api.py2
1 files changed, 1 insertions, 1 deletions
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)