my $filename = shift;
my $bib_source = shift;
+ $client->max_chunk_count($self->{max_bundle_count}) if (!$client->can('max_bundle_count') && $self->{max_bundle_count});
+
my $e = new_editor(authtoken => $auth, xact => 1);
return $e->die_event unless $e->checkauth;
method => "process_spool",
api_level => 1,
argc => 3,
- #max_chunk_size => 0,
max_bundle_count => 1,
record_type => 'bib'
);
method => "process_spool",
api_level => 1,
argc => 3,
- #max_chunk_size => 0,
max_bundle_count => 1,
record_type => 'auth'
);
api_level => 1,
argc => 3,
stream => 1,
- #max_chunk_size => 0,
max_bundle_count => 1,
record_type => 'bib'
);
api_level => 1,
argc => 3,
stream => 1,
- #max_chunk_size => 0,
max_bundle_count => 1,
record_type => 'auth'
);
api_level => 1,
argc => 2,
stream => 1,
- #max_chunk_size => 0,
max_bundle_count => 1,
record_type => 'bib',
signature => {
api_level => 1,
argc => 2,
stream => 1,
- #max_chunk_size => 0,
max_bundle_count => 1,
record_type => 'auth'
);
sub import_queue {
my($self, $conn, $auth, $q_id, $options) = @_;
+ $conn->max_chunk_count($self->{max_bundle_count}) if (!$conn->can('max_bundle_count') && $self->{max_bundle_count});
+
my $e = new_editor(authtoken => $auth, xact => 1);
return $e->die_event unless $e->checkauth;
$options ||= {};