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 {
|
if ok {
|
||||||
rv.readOnly = ro
|
rv.readOnly = ro
|
||||||
}
|
}
|
||||||
// hack for now to disable safe batches in FTS
|
ub, ok := config["unsafe_batch"].(bool)
|
||||||
if storeName == "moss" {
|
if ok {
|
||||||
rv.unsafeBatch = true
|
rv.unsafeBatch = ub
|
||||||
}
|
}
|
||||||
return rv, nil
|
return rv, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user