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.

This commit is contained in:
Roland Singer 2014-12-18 02:21:15 +01:00
parent 63e948e73b
commit ea2501ccc0

View file

@ -15,6 +15,6 @@ const (
// Defaults for reaper.Options
const (
DefaultBatchSize = 10
DefaultCheckInterval = time.Second
DefaultBatchSize = 100
DefaultCheckInterval = time.Minute
)