https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36549 --- Comment #12 from Pedro Amorim (ammopt) <pedro.amorim@openfifth.co.uk> --- Created attachment 205333 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=205333&action=edit Bug 36549: JUST FOR TEST - prove sleep(10) worked BEFORE this patch Test plan (apply just this patch): 1) Set the 'SearchEngine' system preference to 'Elasticsearch'. 2) sudo -s service rabbitmq-server stop 3) sudo koha-es-indexer --stop kohadev perl /kohadevbox/koha/misc/workers/es_indexer_daemon.pl 4) Watch the output. Every cycle should print, in order: 'POLL: about to commit ...' 'POLL: about to sleep(10) ...' 'POLL: woke up from sleep(10) ...' 'PARENT: back at top of loop ...' 5) Check the timestamps on 'about to sleep(10)' vs 'woke up from sleep(10)': they should be ~10 seconds apart, every single cycle. This confirms the throttle worked correctly before the patchset here. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com> -- You are receiving this mail because: You are watching all bug changes.