0
0

Merge pull request #682 from steveyen/scorch

scorch added kvconfig unsafe_batch option
This commit is contained in:
Steve Yen 2017-12-20 10:21:49 -08:00 committed by GitHub
commit d55ef26c51
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -81,9 +81,9 @@ func NewScorch(storeName string, config map[string]interface{}, analysisQueue *i
if ok {
rv.readOnly = ro
}
// hack for now to disable safe batches in FTS
if storeName == "moss" {
rv.unsafeBatch = true
ub, ok := config["unsafe_batch"].(bool)
if ok {
rv.unsafeBatch = ub
}
return rv, nil
}