- Issue created by @marvil07
- Merge request !244#3530660: Introduce time-limit option for search-api:index command → (Open) created by marvil07
- 🇵🇪Peru marvil07
Over MR 244 the new option is introduced.
From the commit message:
This time limit is a best effort, not a exact time out.
Given the underlying code uses Batch API to run the indexing, a more exact bail out is not truly possible.
Instead, do check after each batch is processed, and act accordingly.Sample use:
drush search-api:index --time-limit=30 node_index