Fix DefaultOptions

This commit is contained in:
tianwenjie01 2017-07-18 17:17:17 +08:00
parent 8d3a398113
commit b64054365d
1 changed files with 1 additions and 1 deletions

2
db.go
View File

@ -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,
}