uselagoon / remote-controller

A group of controllers for handling Lagoon builds and tasks in Kubernetes or Openshift
5 stars 1 forks source link

Handle AMQP not being available on startup #1

Closed shreddedbacon closed 4 years ago

shreddedbacon commented 4 years ago

If rabbitmq/amqp is not available when the operator starts, it won't attempt to re-connect.

This isn't a problem if the broker disappears after the operator is running, as it will try to reconnect based on the reconnect interval defined.

Need to build in a way to attempt to retry connection the same as if the broker disconnects during operation.