https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36549

--- Comment #12 from Pedro Amorim (ammopt) <[email protected]> ---
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 <[email protected]>

-- 
You are receiving this mail because:
You are watching all bug changes.
_______________________________________________
Koha-bugs mailing list -- [email protected]
To unsubscribe send an email to [email protected]
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/

Reply via email to