ootbee-support-tools
ootbee-support-tools copied to clipboard
Add 20s delay into Run like crazy for the search scripts
ENHANCEMENT in Run as crazy
I have an inconvenience with 'Run like crazy' when my script uses search. The default solr cron works every 15 seconds. So, if script updates the node it should wait more then 15 seconds to get updated data in the search. But, the javascript console have maximum 10 seconds in continuously run. Please add 20 seconds option in the 'Run like crazy' function.
To do so, add this line:
<option value="20000">${msg("value.twentyseconds")}</option>
before this one ootbee-jsconsole.get.html.ftl line 110
And update properties:
value.twentyseconds=continuously 20s delay
before the line ootbee-jsconsole.get.properties line71
e.t.c. for all languages.