mirror of
https://github.com/prometheus/prometheus.git
synced 2024-11-09 23:24:05 -08:00
One additional reduction.
This commit is contained in:
parent
73b463e814
commit
bd8bb0edfd
|
@ -438,10 +438,9 @@ func optimizeForward(pending ops) (out ops) {
|
|||
|
||||
var (
|
||||
head = ops{t}
|
||||
tail = pending
|
||||
)
|
||||
|
||||
pending = append(head, tail...)
|
||||
pending = append(head, pending...)
|
||||
}
|
||||
case *getValuesAtIntervalOp:
|
||||
pending = pending[1:len(pending)]
|
||||
|
|
Loading…
Reference in a new issue