Commit 7b0e4322 authored by Jérome Perrin's avatar Jérome Perrin

group deferred reindexing activities

parent 6d9f562a
......@@ -51,7 +51,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string># This script is called to defer fulltext indexing in a lower priority.\n
context.activate(activity=\'SQLQueue\', priority=4).SQLCatalog_deferFullTextIndexActivity(path_list=list(getPath))\n
context.activate(activity=\'SQLQueue\', priority=4, group_method_id=None).SQLCatalog_deferFullTextIndexActivity(path_list=list(getPath))\n
</string> </value>
</item>
<item>
......
......@@ -51,7 +51,7 @@
<item>
<key> <string>_body</string> </key>
<value> <string># This script is called to defer fulltext indexing in a lower priority.\n
context.activate(activity=\'SQLQueue\', priority=4).SQLCatalog_deferFullTextIndexActivity(path_list=list(getPath))\n
context.activate(activity=\'SQLQueue\', priority=4, group_method_id=None).SQLCatalog_deferFullTextIndexActivity(path_list=list(getPath))\n
</string> </value>
</item>
<item>
......
......@@ -52,7 +52,7 @@
<key> <string>_body</string> </key>
<value> <string># This script is called to defer fulltext indexing in a lower priority.\n
# Activities are serialised because concurrent write may cause crash of searchd.\n
context.activate(activity=\'SQLQueue\', priority=4, serialization_tag=\'sphinxse_indexing\').SQLCatalog_deferFullTextIndexActivity(path_list=list(getPath))\n
context.activate(activity=\'SQLQueue\', priority=4, serialization_tag=\'sphinxse_indexing\', group_method_id=None).SQLCatalog_deferFullTextIndexActivity(path_list=list(getPath))\n
</string> </value>
</item>
<item>
......
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