Bugzilla – Attachment 150293 Details for
Bug 32250
link_bibs_to_authorities generates too many background jobs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 32250: (follow-up) Remove one more dbh commit and don't start a new transaction when done
Bug-32250-follow-up-Remove-one-more-dbh-commit-and.patch (text/plain), 1.09 KB, created by
Nick Clemens (kidclamp)
on 2023-04-27 12:39:25 UTC
(
hide
)
Description:
Bug 32250: (follow-up) Remove one more dbh commit and don't start a new transaction when done
Filename:
MIME Type:
Creator:
Nick Clemens (kidclamp)
Created:
2023-04-27 12:39:25 UTC
Size:
1.09 KB
patch
obsolete
>From 1eccf0f9331f1f869539540c69c66263560d3ee8 Mon Sep 17 00:00:00 2001 >From: Nick Clemens <nick@bywatersolutions.com> >Date: Thu, 27 Apr 2023 12:39:02 +0000 >Subject: [PATCH] Bug 32250: (follow-up) Remove one more dbh commit and don't > start a new transaction when done > >--- > misc/link_bibs_to_authorities.pl | 2 -- > 1 file changed, 2 deletions(-) > >diff --git a/misc/link_bibs_to_authorities.pl b/misc/link_bibs_to_authorities.pl >index 54f5716626..f7cd876d26 100755 >--- a/misc/link_bibs_to_authorities.pl >+++ b/misc/link_bibs_to_authorities.pl >@@ -85,7 +85,6 @@ my $indexer = Koha::SearchEngine::Indexer->new({ index => $Koha::SearchEngine::B > my $schema = Koha::Database->schema; > $schema->txn_begin; > process_bibs( $linker, $bib_limit, $auth_limit, $commit, { tagtolink => $tagtolink, allowrelink => $allowrelink }); >-$dbh->commit(); > > exit 0; > >@@ -115,7 +114,6 @@ sub process_bibs { > if ( not $test_only ) { > $schema->txn_commit; > $indexer->index_records( \@updated_biblios, "specialUpdate", "biblioserver" ); >- $schema->txn_begin; > } > > my $headings_linked = 0; >-- >2.30.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 32250
:
145305
|
145319
|
149969
|
150100
|
150101
|
150102
|
150239
|
150293
|
150501
|
150502
|
150503
|
150504