Skip to content

Commit

Permalink
fixed reconnect time for rabbit
Browse files Browse the repository at this point in the history
  • Loading branch information
Yehor Datsenko committed Feb 20, 2024
1 parent fb2b748 commit 1eb8379
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/rabbit_listener.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ import (
"fmt"
"log"
"strings"
"time"

"github.com/webitel/logger/model"
"github.com/webitel/wlog"
Expand Down Expand Up @@ -66,6 +67,7 @@ func (l *RabbitListener) Start() {
if err != nil {
wlog.Info(fmtBrokerLog(err.Error()))
}
time.Sleep(time.Second * 10)
}
}()
//var forever chan struct{}
Expand Down

0 comments on commit 1eb8379

Please sign in to comment.