From 35b111083c9ec8d1b7536d26691d6d8d4eabe9b8 Mon Sep 17 00:00:00 2001 From: Oleksii Kliukin Date: Mon, 11 May 2015 17:55:00 +0200 Subject: [PATCH] Change the governor health check default port to 8008 in order to avoid a conflict with etcd proxy. --- governor.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/governor.py b/governor.py index 680bbb71..f992babd 100755 --- a/governor.py +++ b/governor.py @@ -33,7 +33,7 @@ postgresql = Postgresql(config["postgresql"], aws_host_address) ha = Ha(postgresql, etcd) ## Start the http_server to serve a simple healthcheck -http_server = getHTTPServer(postgresql, http_port=8080, listen_address='0.0.0.0') +http_server = getHTTPServer(postgresql, http_port=8008, listen_address='0.0.0.0') http_thread = threading.Thread(target=http_server.serve_forever, args=()) http_thread.daemon = True http_thread.start()