Commit 3c181c89 authored by Leo Gordon's avatar Leo Gordon
Browse files

Slow the example down a bit and allow 2 Workers. In "-can_specialize 1" mode...

Slow the example down a bit and allow 2 Workers. In "-can_specialize 1" mode the two Workers will complete the whole pipeline.
parent cd24c5cc
......@@ -76,7 +76,7 @@ sub default_options {
'first_mult' => '9650156169', # the actual numbers to be multiplied can also be specified from the command line
'second_mult' => '327358788',
'take_time' => 0, # how much time (in seconds) should each job take -- to slow things down
'take_time' => 1, # how much time (in seconds) should each job take -- to slow things down
};
}
......@@ -142,7 +142,7 @@ sub pipeline_analyses {
{ -logic_name => 'take_b_apart',
-module => 'Bio::EnsEMBL::Hive::RunnableDB::LongMult::DigitFactory',
-meadow_type=> 'LOCAL', # do not bother the farm with such a simple task (and get it done faster)
-analysis_capacity => 1, # use per-analysis limiter
-analysis_capacity => 2, # use per-analysis limiter
-input_ids => [
{ 'a_multiplier' => $self->o('first_mult'), 'b_multiplier' => $self->o('second_mult') },
{ 'a_multiplier' => $self->o('second_mult'), 'b_multiplier' => $self->o('first_mult') },
......
Markdown is supported
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