1
0
Fork 0
mirror of https://github.com/binwiederhier/ntfy.git synced 2024-12-23 02:02:33 +01:00
This commit is contained in:
Philipp Heckel 2022-06-02 14:38:38 -04:00
parent e12995e218
commit 39b1de3320

View file

@ -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
} }