Bugzilla – Attachment 160918 Details for
Bug 35438
Importing records can create too large transactions
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 35438: Remove skip_intermediate_commit parameter
Bug-35438-Remove-skipintermediatecommit-parameter.patch (text/plain), 2.03 KB, created by
Marcel de Rooy
on 2024-01-12 10:19:49 UTC
(
hide
)
Description:
Bug 35438: Remove skip_intermediate_commit parameter
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2024-01-12 10:19:49 UTC
Size:
2.03 KB
patch
obsolete
>From 7432d4866ba081625f0400a9e77b1f8b2d870028 Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Fri, 1 Dec 2023 06:53:21 -0500 >Subject: [PATCH] Bug 35438: Remove skip_intermediate_commit parameter >Content-Type: text/plain; charset=utf-8 > >It no longer does anything. > >Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >--- > C4/ImportBatch.pm | 4 ---- > Koha/BackgroundJob/MARCImportCommitBatch.pm | 1 - > 2 files changed, 5 deletions(-) > >diff --git a/C4/ImportBatch.pm b/C4/ImportBatch.pm >index 2fb22c64fd..0cfd132edf 100644 >--- a/C4/ImportBatch.pm >+++ b/C4/ImportBatch.pm >@@ -520,10 +520,7 @@ sub BatchFindDuplicates { > overlay_framework => $overlay_framework, > progress_interval => $progress_interval, > progress_callback => $progress_callback, >- skip_intermediate_commit => $skip_intermediate_commit > }); >- >- Parameter skip_intermediate_commit does what is says. > =cut > > sub BatchCommitRecords { >@@ -531,7 +528,6 @@ sub BatchCommitRecords { > my $batch_id = $params->{batch_id}; > my $framework = $params->{framework}; > my $overlay_framework = $params->{overlay_framework}; >- my $skip_intermediate_commit = $params->{skip_intermediate_commit}; > my $progress_interval = $params->{progress_interval} // 0; > my $progress_callback = $params->{progress_callback}; > $progress_interval = 0 unless $progress_interval && $progress_interval =~ /^\d+$/; >diff --git a/Koha/BackgroundJob/MARCImportCommitBatch.pm b/Koha/BackgroundJob/MARCImportCommitBatch.pm >index 22398aef29..d2d45b6070 100644 >--- a/Koha/BackgroundJob/MARCImportCommitBatch.pm >+++ b/Koha/BackgroundJob/MARCImportCommitBatch.pm >@@ -78,7 +78,6 @@ sub process { > progress_interval => 50, > progress_callback => > sub { my $job_progress = shift; $self->progress( $job_progress )->store }, >- skip_intermediate_commit => 1, > }); > my $count = $num_added + $num_updated; > if( $count ) { >-- >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 35438
:
159413
|
159415
|
159442
|
159443
|
160917
| 160918