]> git.koha-community.org Git - koha.git/commit
Bug 32250: (follow-up) Commit background job to the DB
authorNick Clemens <nick@bywatersolutions.com>
Thu, 20 Apr 2023 15:53:10 +0000 (15:53 +0000)
committerMartin Renvoize <martin.renvoize@ptfs-europe.com>
Thu, 11 May 2023 11:15:45 +0000 (12:15 +0100)
commit01ec0a33cb4bcc2f0c5434c5dbe136238c62abac
treee9ccc352b57aa2d0193cbabcbc42b0e2e65ca3fd
parent1078a907ac50c1f624709031f50ff95505008d52
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>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
(cherry picked from commit bfc1e3c226932df939b616603076120498cf74a5)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
misc/link_bibs_to_authorities.pl