mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
app/vmselect: use GetDeadlineForLabelsAPI for LabelAPI requests (#5992)
(cherry picked from commit 70eaa06f08
)
This commit is contained in:
parent
cd222d6502
commit
1fc3b39b9c
1 changed files with 1 additions and 1 deletions
|
@ -1241,7 +1241,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