Skip to content

insights: ensure search queries run with a large count:

Warren Gifford requested to merge sg/insights-stable-result-count into main

Created by: slimsag

This ensures insights without a count: field in them have count:9999999 (10m) implicitly added. All search queries have a timeout of 60s, so this is unlikely to cause any major issues. Additionally, is is a source of large issues for code insights because we implicitly measure "number of fluctuating results" leading to super wonky things like this:

image

Signed-off-by: Stephen Gutekanst [email protected]

Merge request reports

Loading