https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=32250 --- Comment #19 from Jonathan Druart <jonathan.druart+koha@gmail.com> --- Created attachment 150503 --> https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=150503&action=edit Bug 32250: (follow-up) Commit background job to the DB We can't run a background job if it isn't in the database, however, this script runs with AutoCommit disabled. We need to enable it while generating the background job, then disable for the updates. I don't nkow if using a transaction would be preferable. I tried to solve this independently, but it requires consolidating the index requests to make this work easily Signed-off-by: David Nind <david@davidnind.com> Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org> -- You are receiving this mail because: You are watching all bug changes.