Change the governor health check default port to 8008 in order to avoid a conflict with etcd proxy.

This commit is contained in:
Oleksii Kliukin
2015-05-11 17:55:00 +02:00
parent 82afc554d6
commit 35b111083c
+1 -1
View File
@@ -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()