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
40eab739
Commit
40eab739
authored
Nov 24, 2011
by
Leo Gordon
Browse files
bugfix: correct counting of total_job_number in non-trigger mode
parent
373b7d73
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
modules/Bio/EnsEMBL/Hive/Queen.pm
modules/Bio/EnsEMBL/Hive/Queen.pm
+2
-2
No files found.
modules/Bio/EnsEMBL/Hive/Queen.pm
View file @
40eab739
...
...
@@ -552,7 +552,7 @@ sub synchronize_AnalysisStats {
while
(
my
(
$status
,
$semaphore_count
,
$job_count
)
=
$sth
->
fetchrow_array
())
{
# print STDERR "$status: $job_count\n";
my
$total_job_count
+=
$job_count
;
$total_job_count
+=
$job_count
;
if
((
$status
eq
'
READY
')
and
(
$semaphore_count
<=
0
))
{
$analysisStats
->
unclaimed_job_count
(
$job_count
);
...
...
@@ -576,7 +576,7 @@ sub synchronize_AnalysisStats {
}
elsif
(
$status
eq
'
FAILED
')
{
$analysisStats
->
failed_job_count
(
$job_count
);
}
}
}
# /while
$sth
->
finish
;
$analysisStats
->
total_job_count
(
$total_job_count
);
...
...
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