mirror of
https://github.com/prometheus/prometheus.git
synced 2025-01-12 14:27:27 -08:00
Fix cmd/compact
Signed-off-by: Marco Pracucci <marco@pracucci.com>
This commit is contained in:
parent
77d66c544a
commit
fc40f7cff8
|
@ -71,7 +71,7 @@ func main() {
|
|||
ctx, cancel := signal.NotifyContext(context.Background(), syscall.SIGINT, syscall.SIGTERM)
|
||||
defer cancel()
|
||||
|
||||
c, err := tsdb.NewLeveledCompactorWithChunkSize(ctx, nil, logger, []int64{0}, nil, segmentSizeMB*1024*1024, nil, true)
|
||||
c, err := tsdb.NewLeveledCompactorWithChunkSize(ctx, nil, logger, []int64{0}, nil, segmentSizeMB*1024*1024, nil)
|
||||
if err != nil {
|
||||
log.Panicln("creating compactor", err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue