Skip to content

Commit

Permalink
Fixed lag between file-sd and dns-sd (#933)
Browse files Browse the repository at this point in the history
Signed-off-by: jojohappy <[email protected]>
  • Loading branch information
jojohappy authored and bwplotka committed Mar 20, 2019
1 parent 44272a6 commit 9f4fa5b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cmd/thanos/query.go
Original file line number Diff line number Diff line change
Expand Up @@ -355,6 +355,7 @@ func runQuery(
}
fileSDCache.Update(update)
stores.Update(ctxUpdate)
dnsProvider.Resolve(ctxUpdate, append(fileSDCache.Addresses(), storeAddrs...))
case <-ctxUpdate.Done():
return nil
}
Expand Down

0 comments on commit 9f4fa5b

Please sign in to comment.