From ea2501ccc04c67cb4f11e190d8de070b6def60c3 Mon Sep 17 00:00:00 2001 From: Roland Singer Date: Thu, 18 Dec 2014 02:21:15 +0100 Subject: [PATCH] Increased DefaultCheckInterval and DefaultBatchSize to a higher value. This will improve the bolt store read database access speed. 1 second for the reaper is not needed. --- shared/consts.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shared/consts.go b/shared/consts.go index d68ef02..17c1b02 100644 --- a/shared/consts.go +++ b/shared/consts.go @@ -15,6 +15,6 @@ const ( // Defaults for reaper.Options const ( - DefaultBatchSize = 10 - DefaultCheckInterval = time.Second + DefaultBatchSize = 100 + DefaultCheckInterval = time.Minute )