Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
bc3cc5ef
Commit
bc3cc5ef
authored
Oct 01, 2010
by
Leo Gordon
Browse files
needs more investigations
parent
a89f3c41
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
2 deletions
+1
-2
modules/Bio/EnsEMBL/Hive/Queen.pm
modules/Bio/EnsEMBL/Hive/Queen.pm
+1
-2
No files found.
modules/Bio/EnsEMBL/Hive/Queen.pm
View file @
bc3cc5ef
...
...
@@ -720,8 +720,6 @@ sub get_num_needed_workers {
my
$total_workers
=
0
;
my
%rc2workers
=
();
# FIXME: I have a feeling sometimes this method returns an incorrect value. Please doublecheck.
foreach
my
$analysis_stats
(
@all_analyses
)
{
next
if
(
defined
$filter_analysis
&&
$filter_analysis
->
dbID
!=
$analysis_stats
->
analysis_id
);
...
...
@@ -733,6 +731,7 @@ sub get_num_needed_workers {
next
if
(
$analysis_stats
->
status
eq
'
BLOCKED
');
next
if
(
$analysis_stats
->
num_required_workers
==
0
);
# FIXME: the following call sometimes returns a stale number greater than the number of workers actually needed for an analysis; resync fixes it
my
$workers_this_analysis
=
$analysis_stats
->
num_required_workers
;
if
(
$analysis_stats
->
hive_capacity
>
0
)
{
# if there is a limit, use it for cut-off
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment