parent
0ba2d95e8d
commit
bf159f747c
|
@ -31,9 +31,9 @@ type Config struct {
|
|||
}
|
||||
|
||||
var ConfigDefault = Config{
|
||||
ReconnectDelay: 5,
|
||||
ReInitDelay: 2,
|
||||
ResendDelay: 5,
|
||||
ReconnectDelay: 5 * time.Second,
|
||||
ReInitDelay: 2 * time.Second,
|
||||
ResendDelay: 5 * time.Second,
|
||||
}
|
||||
|
||||
type ExchangeSettings struct {
|
||||
|
@ -108,8 +108,6 @@ func NewClient(exchangeSettings ExchangeSettings, queueSettings QueueSettings, c
|
|||
done: make(chan bool),
|
||||
}
|
||||
|
||||
log.Println("config", config)
|
||||
|
||||
go client.handleReconnect(addr)
|
||||
return &client
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue