prometheus/util/testutil
George Krajcsovits fdaafdb041
tsdb: check for context cancel before regex matching postings (#14096)
* tsdb: check for context cancel before regex matching postings

Regex matching can be heavy if the regex takes a lot of cycles to
evaluate and we can get stuck evaluating postings for a long time
without this fix. The constant checkContextEveryNIterations=100
may be changed later.

Signed-off-by: György Krajcsovits <gyorgy.krajcsovits@grafana.com>
2024-05-15 06:26:19 +02:00
..
cmp.go
context.go tsdb: check for context cancel before regex matching postings (#14096) 2024-05-15 06:26:19 +02:00
directory.go
logging.go
port.go
roundtrip.go
testing.go