Fix log
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user