mirror of
https://github.com/outbackdingo/patroni.git
synced 2026-08-27 08:00:28 +00:00
Change the governor health check default port to 8008 in order to avoid a conflict with etcd proxy.
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user