mirror of
https://github.com/prometheus/prometheus
synced 2025-02-07 23:52:41 +00:00
Fix DefaultOptions
This commit is contained in:
parent
8d3a398113
commit
b64054365d
2
db.go
2
db.go
@ -45,7 +45,7 @@ import (
|
||||
var DefaultOptions = &Options{
|
||||
WALFlushInterval: 5 * time.Second,
|
||||
RetentionDuration: 15 * 24 * 60 * 60 * 1000, // 15 days in milliseconds
|
||||
BlockRanges: ExponentialBlockRanges(int64(2*time.Hour), 3, 5),
|
||||
BlockRanges: ExponentialBlockRanges(int64(2*time.Hour)/1e6, 3, 5),
|
||||
NoLockfile: false,
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user