@@ -, +, @@ --- Koha/BackgroundJob/BatchCancelHold.pm | 6 +++--- Koha/BackgroundJob/BatchDeleteAuthority.pm | 6 +++--- Koha/BackgroundJob/BatchDeleteBiblio.pm | 6 +++--- Koha/BackgroundJob/BatchDeleteItem.pm | 2 +- Koha/BackgroundJob/BatchUpdateAuthority.pm | 6 +++--- Koha/BackgroundJob/BatchUpdateBiblio.pm | 6 +++--- Koha/BackgroundJob/BatchUpdateItem.pm | 6 +++--- Koha/BackgroundJob/CreateEHoldingsFromBiblios.pm | 6 +++--- Koha/BackgroundJob/MARCImportCommitBatch.pm | 6 +++--- Koha/BackgroundJob/MARCImportRevertBatch.pm | 6 +++--- Koha/BackgroundJob/StageMARCForImport.pm | 6 +++--- 11 files changed, 31 insertions(+), 31 deletions(-) --- a/Koha/BackgroundJob/BatchCancelHold.pm +++ a/Koha/BackgroundJob/BatchCancelHold.pm @@ -135,9 +135,9 @@ sub enqueue { $self->SUPER::enqueue( { - job_size => scalar @hold_ids, - job_args => { hold_ids => \@hold_ids, reason => $args->{reason} }, - queue => 'long_tasks', + job_size => scalar @hold_ids, + job_args => { hold_ids => \@hold_ids, reason => $args->{reason} }, + job_queue => 'long_tasks', } ); } --- a/Koha/BackgroundJob/BatchDeleteAuthority.pm +++ a/Koha/BackgroundJob/BatchDeleteAuthority.pm @@ -103,9 +103,9 @@ sub enqueue { my @record_ids = @{ $args->{record_ids} }; $self->SUPER::enqueue({ - job_size => scalar @record_ids, - job_args => {record_ids => \@record_ids,}, - queue => 'long_tasks', + job_size => scalar @record_ids, + job_args => {record_ids => \@record_ids,}, + job_queue => 'long_tasks', }); } --- a/Koha/BackgroundJob/BatchDeleteBiblio.pm +++ a/Koha/BackgroundJob/BatchDeleteBiblio.pm @@ -192,9 +192,9 @@ sub enqueue { my @record_ids = @{ $args->{record_ids} }; $self->SUPER::enqueue({ - job_size => scalar @record_ids, - job_args => {record_ids => \@record_ids,}, - queue => 'long_tasks', + job_size => scalar @record_ids, + job_args => {record_ids => \@record_ids,}, + job_queue => 'long_tasks', }); } --- a/Koha/BackgroundJob/BatchDeleteItem.pm +++ a/Koha/BackgroundJob/BatchDeleteItem.pm @@ -237,7 +237,7 @@ sub enqueue { record_ids => \@record_ids, delete_biblios => $delete_biblios, }, - queue => 'long_tasks', + job_queue => 'long_tasks', } ); } --- a/Koha/BackgroundJob/BatchUpdateAuthority.pm +++ a/Koha/BackgroundJob/BatchUpdateAuthority.pm @@ -134,9 +134,9 @@ sub enqueue { my @record_ids = @{ $args->{record_ids} }; $self->SUPER::enqueue({ - job_size => scalar @record_ids, - job_args => {mmtid => $mmtid, record_ids => \@record_ids,}, - queue => 'long_tasks', + job_size => scalar @record_ids, + job_args => {mmtid => $mmtid, record_ids => \@record_ids,}, + job_queue => 'long_tasks', }); } --- a/Koha/BackgroundJob/BatchUpdateBiblio.pm +++ a/Koha/BackgroundJob/BatchUpdateBiblio.pm @@ -142,9 +142,9 @@ sub enqueue { return unless exists $args->{record_ids}; $self->SUPER::enqueue({ - job_size => scalar @{$args->{record_ids}}, - job_args => $args, - queue => 'long_tasks', + job_size => scalar @{$args->{record_ids}}, + job_args => $args, + job_queue => 'long_tasks', }); } --- a/Koha/BackgroundJob/BatchUpdateItem.pm +++ a/Koha/BackgroundJob/BatchUpdateItem.pm @@ -154,9 +154,9 @@ sub enqueue { $self->SUPER::enqueue( { - job_size => scalar @record_ids, - job_args => {%$args}, - queue => 'long_tasks', + job_size => scalar @record_ids, + job_args => {%$args}, + job_queue => 'long_tasks', } ); } --- a/Koha/BackgroundJob/CreateEHoldingsFromBiblios.pm +++ a/Koha/BackgroundJob/CreateEHoldingsFromBiblios.pm @@ -207,9 +207,9 @@ sub enqueue { return unless exists $args->{record_ids}; $self->SUPER::enqueue({ - job_size => scalar @{$args->{record_ids}}, - job_args => $args, - queue => 'long_tasks', + job_size => scalar @{$args->{record_ids}}, + job_args => $args, + job_queue => 'long_tasks', }); } --- a/Koha/BackgroundJob/MARCImportCommitBatch.pm +++ a/Koha/BackgroundJob/MARCImportCommitBatch.pm @@ -116,9 +116,9 @@ sub enqueue { my ( $self, $args) = @_; $self->SUPER::enqueue({ - job_size => Koha::Import::Records->search({ import_batch_id => $args->{import_batch_id} })->count, - job_args => $args, - queue => 'long_tasks', + job_size => Koha::Import::Records->search({ import_batch_id => $args->{import_batch_id} })->count, + job_args => $args, + job_queue => 'long_tasks', }); } --- a/Koha/BackgroundJob/MARCImportRevertBatch.pm +++ a/Koha/BackgroundJob/MARCImportRevertBatch.pm @@ -112,9 +112,9 @@ sub enqueue { my ( $self, $args) = @_; $self->SUPER::enqueue({ - job_size => Koha::Import::Records->search({ import_batch_id => $args->{import_batch_id} })->count, - job_args => $args, - queue => 'long_tasks', + job_size => Koha::Import::Records->search({ import_batch_id => $args->{import_batch_id} })->count, + job_args => $args, + job_queue => 'long_tasks', }); } --- a/Koha/BackgroundJob/StageMARCForImport.pm +++ a/Koha/BackgroundJob/StageMARCForImport.pm @@ -197,9 +197,9 @@ sub enqueue { my ( $self, $args) = @_; $self->SUPER::enqueue({ - job_size => 0, # TODO Unknown for now? - job_args => $args, - queue => 'long_tasks', + job_size => 0, # TODO Unknown for now? + job_args => $args, + job_queue => 'long_tasks', }); } --