Skip to content

Commit

Permalink
fix: Adjust tailer loop criteria so it is actually re-tested (#13906)
Browse files Browse the repository at this point in the history
  • Loading branch information
paul1r authored Aug 16, 2024
1 parent feee240 commit dabbfd8
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions pkg/querier/tail.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit dabbfd8

Please sign in to comment.