mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-02-09 15:27:11 +00:00
app/vmselect: use GetDeadlineForLabelsAPI for LabelAPI requests (#5992)
This commit is contained in:
parent
b08cbd0400
commit
70eaa06f08
1 changed files with 1 additions and 1 deletions
|
@ -1138,7 +1138,7 @@ func getCommonParamsForLabelsAPI(r *http.Request, startTime time.Time, requireNo
|
|||
if cp.start == 0 {
|
||||
cp.start = cp.end - defaultStep
|
||||
}
|
||||
cp.deadline = searchutils.GetDeadlineForExport(r, startTime)
|
||||
cp.deadline = searchutils.GetDeadlineForLabelsAPI(r, startTime)
|
||||
return cp, nil
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue