Skip to content
Snippets Groups Projects
Commit db19c357 authored by Neil-Jocelyn Schark's avatar Neil-Jocelyn Schark
Browse files

wip

parent 650be77e
No related branches found
No related tags found
No related merge requests found
Pipeline #186028 failed
This commit is part of merge request !773. Comments created here will be created in the context of that merge request.
...@@ -85,6 +85,8 @@ func connect(addr string) (*amqp.Connection, error) { ...@@ -85,6 +85,8 @@ func connect(addr string) (*amqp.Connection, error) {
// Will equal two Minuten of retries // Will equal two Minuten of retries
retries := 60 retries := 60
logrus.Debugf("will try to connect to: %s", addr)
for i := 0; i < retries; i++ { for i := 0; i < retries; i++ {
conn, err := amqp.Dial(addr) conn, err := amqp.Dial(addr)
if err == nil { if err == nil {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment