Closed (fixed)
Project:
Search API
Version:
8.x-1.x-dev
Component:
Drush / Rules
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
18 Jun 2025 at 02:29 UTC
Updated:
7 Oct 2025 at 14:29 UTC
Jump to comment: Most recent
Comments
Comment #3
marvil07 commentedOver MR 244 the new option is introduced.
From the commit message:
Sample use:
Comment #5
drunken monkeyLooks great, thanks a lot! And sorry for taking so long to reply.
I just had some minor nitpicks and made some code style changes, otherwise this looks good to go.
Feel free to review my changes and tell me what you think, otherwise I’ll just merge this in a week or so.
Comment #6
marvil07 commented🎉 Thanks for maintaining this project!
Those changes look quite good, thanks!
Comment #7
kristiaanvandeneyndeFound a minor issue when passing a time limit of 0. The code seems to specifically allow for this, but then any time limit of 0 is converted into -1.
Comment #8
drunken monkey@kristiaanvandeneynde: Thanks for catching that, you’re right.
Should be fixed now.
Comment #9
drunken monkeyDoes anyone else want to test/review, is there anything still missing, or is this RTBC?
Comment #10
kristiaanvandeneyndeLooks good to me.
Only nitpick I have is that the time limit is allotted for every index if you specify no index. You might want to document that as such. If you have 6 indexes and specify a time limit of 10 seconds, it will end up running for 60 seconds unless you manually specify a single index.
Comment #11
drunken monkeyYou’re right, that’s ambiguously phrased. I changed it to this, which should also make it clearer that time spent will usually be a bit more than specified, not exactly (e.g.) 10.0 seconds:
Do you think this is better, or do you have another suggestion?
Comment #12
kristiaanvandeneyndeIs this better? It seems more clear about the potential impact.
Either way, feel free to commit your or my version without further feedback. I consider this issue RTBC. I'm not a fan of delaying things over nitpicking how we should phrase a comment :)
Comment #13
drunken monkeyAh, yes, I like that even better. Changed the description and then merged.
Thanks again, everyone!