Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Open sidebar
ensembl-gh-mirror
ensembl-hive
Commits
aec4e1f8
Commit
aec4e1f8
authored
Oct 08, 2012
by
Leo Gordon
Browse files
allow the batch_size to be updated via $analysis_stats_adaptor->update($stats);
parent
babaf94d
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisStatsAdaptor.pm
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisStatsAdaptor.pm
+3
-2
No files found.
modules/Bio/EnsEMBL/Hive/DBSQL/AnalysisStatsAdaptor.pm
View file @
aec4e1f8
...
...
@@ -178,12 +178,13 @@ sub update {
}
my
$sql
=
"
UPDATE analysis_stats SET status='
"
.
$stats
->
status
.
"
'
";
# $sql .= ",batch_size=" . $stats->batch_size();
$sql
.=
"
,batch_size=
"
.
$stats
->
batch_size
();
$sql
.=
"
,hive_capacity=
"
.
$stats
->
hive_capacity
();
$sql
.=
"
,avg_msec_per_job=
"
.
$stats
->
avg_msec_per_job
();
$sql
.=
"
,avg_input_msec_per_job=
"
.
$stats
->
avg_input_msec_per_job
();
$sql
.=
"
,avg_run_msec_per_job=
"
.
$stats
->
avg_run_msec_per_job
();
$sql
.=
"
,avg_output_msec_per_job=
"
.
$stats
->
avg_output_msec_per_job
();
$sql
.=
"
,hive_capacity=
"
.
$stats
->
hive_capacity
();
unless
(
$self
->
db
->
hive_use_triggers
()
)
{
$sql
.=
"
,total_job_count=
"
.
$stats
->
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