Fix log
parent
e12995e218
commit
39b1de3320
|
@ -233,7 +233,7 @@ func handleSubscribeConnLoop(ctx context.Context, msgChan chan *Message, topicUR
|
||||||
}
|
}
|
||||||
select {
|
select {
|
||||||
case <-ctx.Done():
|
case <-ctx.Done():
|
||||||
log.Info("Connection exited", util.ShortTopicURL(topicURL))
|
log.Info("%s Connection exited", util.ShortTopicURL(topicURL))
|
||||||
return
|
return
|
||||||
case <-time.After(10 * time.Second): // TODO Add incremental backoff
|
case <-time.After(10 * time.Second): // TODO Add incremental backoff
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue