mirror of
https://github.com/prometheus/prometheus.git
synced 2026-06-09 00:22:19 -04:00
Adjust maximum samples per chunk.
This commit is contained in:
parent
7de2217011
commit
c73a397da2
1 changed files with 1 additions and 1 deletions
2
head.go
2
head.go
|
|
@ -627,7 +627,7 @@ func (s *memSeries) append(t int64, v float64) bool {
|
|||
|
||||
var c *memChunk
|
||||
|
||||
if s.app == nil || s.head().samples > 2000 {
|
||||
if s.app == nil || s.head().samples > 130 {
|
||||
c = s.cut()
|
||||
c.minTime = t
|
||||
} else {
|
||||
|
|
|
|||
Loading…
Reference in a new issue