https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=36702 --- Comment #5 from David Cook <dcook@prosentient.com.au> --- (In reply to Tomás Cohen Arazi (tcohen) from comment #4)
- Plugin hook scheduling API calls to external API that could fail (they do fail, not often but do) and I want the job to be able to detect certain errors and schedule a retry.
To me, it sounds like this would benefit from a task scheduler, and then the retry logic is just part of the plugin.
- ES overwhelmed somehow, I would like the ES indexing job to be retried under certain circumstances.
That could probably be useful. I suppose many things where there is inter-process communication it can be handy to be able to retry up to X times. So long as there's some coding to make sure there's no race conditions. ES indexing should be fine since it should just be passing an ID rather than any stale data. -- Yeah overall I think a task scheduler solves this. -- You are receiving this mail because: You are watching all bug changes.