Closed (fixed)
Project:
Search API
Version:
7.x-1.x-dev
Component:
General code
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
3 Oct 2017 at 18:00 UTC
Updated:
22 Oct 2017 at 15:35 UTC
Jump to comment: Most recent
Comments
Comment #2
drunken monkeyIt's not the number of items per cron run, but the number of items in a batch. A cron job for Search API will always run for a set amount of time (
search_api_index_worker_callback_runtimevariable, 15 seconds by default), indexing batches until the time is up.If this crashes the site, you can just reduce the time limit in the
search_api_index_worker_callback_runtimevariable.Or, alternately, manually empty the static entity cache between indexing batches (e.g., in
hook_search_api_items_indexed()).