From 72a2f04b45c135fbdcd2dd6d183e690f36552d08 Mon Sep 17 00:00:00 2001 From: Leo Gordon <lg4@ebi.ac.uk> Date: Wed, 13 Jul 2011 07:49:49 +0000 Subject: [PATCH] no need for the variable --- modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisStatsAdaptor.pm | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisStatsAdaptor.pm b/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisStatsAdaptor.pm index 6ed787904..3a239e129 100644 --- a/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisStatsAdaptor.pm +++ b/modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisStatsAdaptor.pm @@ -168,8 +168,7 @@ sub get_running_worker_count { sub update { my ($self, $stats) = @_; - my $running_worker_count = $self->get_running_worker_count($stats); - $stats->num_running_workers($running_worker_count); + $stats->num_running_workers( $self->get_running_worker_count($stats) ); my $hive_capacity = $stats->hive_capacity; if ($stats->behaviour eq "DYNAMIC") { -- GitLab