From 0abac4b4aec924ba2860507ecdd010de51993418 Mon Sep 17 00:00:00 2001 From: Ahmed Bilal Khalid Date: Fri, 30 Aug 2019 23:41:14 +0500 Subject: [PATCH] a --- config.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config.py b/config.py index 1c62ae2..fecd628 100755 --- a/config.py +++ b/config.py @@ -15,7 +15,10 @@ logging.basicConfig( datefmt="%d-%b-%y %H:%M:%S", ) -etcd_client = Etcd3Wrapper(host=config("ETCD_URL"), user="root", password=config("ETCD_PASSWORD")) +# TODO: Remove timeout, use certificate authentication +etcd_client = Etcd3Wrapper(host=config("ETCD_URL"), user="root", + password=config("ETCD_PASSWORD"), + timeout=2629746) host_pool = HostPool(etcd_client, "/v1/host") vm_pool = VmPool(etcd_client, "/v1/vm")