Skip to content

Commit dabbfd8

Browse files
authored
fix: Adjust tailer loop criteria so it is actually re-tested (#13906)
1 parent feee240 commit dabbfd8

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

pkg/querier/tail.go

+1-2
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ func (t *Tailer) loop() {
8787

8888
droppedEntries := make([]loghttp.DroppedEntry, 0)
8989

90-
stopped := t.stopped.Load()
91-
for !stopped {
90+
for !t.stopped.Load() {
9291
select {
9392
case <-checkConnectionTicker.C:
9493
// Try to reconnect dropped ingesters and connect to new ingesters

0 commit comments

Comments
 (0)