fix: Adjust tailer loop criteria so it is actually re-tested (#13906)

pull/13893/head
Paul Rogers 1 year ago committed by GitHub
parent feee240f46
commit dabbfd81ef
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 3
      pkg/querier/tail.go

@ -87,8 +87,7 @@ func (t *Tailer) loop() {
droppedEntries := make([]loghttp.DroppedEntry, 0)
stopped := t.stopped.Load()
for !stopped {
for !t.stopped.Load() {
select {
case <-checkConnectionTicker.C:
// Try to reconnect dropped ingesters and connect to new ingesters

Loading…
Cancel
Save