rawlinp opened a new issue #1808: Traffic Ops Golang Proxy should retry for a DB connection while starting up URL: https://github.com/apache/incubator-trafficcontrol/issues/1808 When the DB is maxed out on connections, the TO Golang Proxy encounters this error on startup: ```ERROR: proc.go:185: 2018-01-29T17:10:56.668204008Z: registering routes: Error preparing db priv level query: pq: remaining connection slots are reserved for non-replication superuser connections``` Because of this error, the proxy never starts listening on port 443 and fails to start. Rather than just failing the startup completely, the Proxy should periodically retry for a DB connection before starting to listen on port 443. This way when the connections are no longer maxed out, the proxy will be able to start on its own without requiring a full restart of Traffic Ops.
---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: [email protected] With regards, Apache Git Services
