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)
committerTomas Cohen Arazi <tomascohen@theke.io>
Fri, 5 May 2023 12:13:23 +0000 (09:13 -0300)
commitbfc1e3c226932df939b616603076120498cf74a5
treef7a14ba73486de34862be860afbf6099d5e44716
parentcacc16c659ba64ea75602c5122e87c8337a11bbe
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>
misc/link_bibs_to_authorities.pl