Merge pull request #110 from WJTian/master

Fix DefaultOptions
This commit is contained in:
Goutham Veeramachaneni 2017-07-22 00:07:38 +05:30 committed by GitHub
commit 1378338aab

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