Skip to content
Snippets Groups Projects
Commit 6ca20c43 authored by Andy Yates's avatar Andy Yates
Browse files

Up batch searches for checksums to 1000

parent d2a284ca
No related branches found
No related tags found
No related merge requests found
......@@ -8,7 +8,7 @@ use Bio::EnsEMBL::Utils::Argument qw(rearrange);
use Bio::EnsEMBL::Utils::Exception qw(throw);
use Digest::MD5;
my $DEFAULT_BATCH_SIZE = 10;
my $DEFAULT_BATCH_SIZE = 1000;
sub new {
my ($class, @args) = @_;
......
......@@ -51,18 +51,15 @@ sub verbose {
}
sub process {
my ($self, $do_upload) = @_;
my ($self) = @_;
$self->_update_status('checksum_xrefs_started');
if($self->_map_checksums()) {
my $method = $self->get_method();
my $results = $method->run();
if($do_upload) {
$self->log_progress('Starting upload');
$self->upload($results);
}
$self->log_progress('Starting upload');
$self->upload($results);
}
$self->_update_status('checksum_xrefs_finished');
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment