From b64054365dc01e7a50cfdba179e2816714200b1a Mon Sep 17 00:00:00 2001 From: tianwenjie01 Date: Tue, 18 Jul 2017 17:17:17 +0800 Subject: [PATCH] Fix DefaultOptions --- db.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/db.go b/db.go index a5674056a..298c61243 100644 --- a/db.go +++ b/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, }