Skip to content
Snippets Groups Projects

Resolve "Investigate GitLab-CI services don't reach each other"

1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -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 {
Loading