Commit 174e5363 authored by Aaron Wells's avatar Aaron Wells Committed by Robert Lyon

Set elasticsearch cronlimit to 50000 by default.

Bug 1464052: Giving it a default of 50000 instead of unlimited.

Change-Id: I30210d3416d70d96bec40ebb578c5302e07ff63f
(cherry picked from commit 0b1d3d68)
parent e10fe1c1
......@@ -467,6 +467,7 @@ class PluginSearchElasticsearch extends PluginSearch {
set_config_plugin('search', 'elasticsearch', 'indexname', 'mahara');
set_config_plugin('search', 'elasticsearch', 'analyzer', 'mahara_analyzer');
set_config_plugin('search', 'elasticsearch', 'types', 'usr,interaction_instance,interaction_forum_post,group,view,artefact');
set_config_plugin('search', 'elasticsearch', 'cronlimit', '50000');
$elasticsearchartefacttypesmap = file_get_contents(__DIR__ . '/elasticsearchartefacttypesmap.txt');
set_config_plugin('search', 'elasticsearch', 'artefacttypesmap', $elasticsearchartefacttypesmap);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment