mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 12:05:29 +00:00
Make the default update_method be AUTO
This commit is contained in:
parent
bcfb036320
commit
590e7bef5d
@ -30,7 +30,7 @@ class SearchUpdater extends Object {
|
|||||||
*
|
*
|
||||||
* If messagequeue module not installed, AUTO => IMMEDIATE and DEFERRED => DISABLED
|
* If messagequeue module not installed, AUTO => IMMEDIATE and DEFERRED => DISABLED
|
||||||
*/
|
*/
|
||||||
static $update_method = SearchUpdater::DEFERRED;
|
static $update_method = SearchUpdater::AUTO;
|
||||||
|
|
||||||
// How many items can be dirty before we defer updates
|
// How many items can be dirty before we defer updates
|
||||||
static $auto_threshold = 6;
|
static $auto_threshold = 6;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user