Merge pull request #682 from steveyen/scorch
scorch added kvconfig unsafe_batch option
This commit is contained in:
commit
d55ef26c51
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user