Commit aec4e1f8 authored by Leo Gordon's avatar Leo Gordon
Browse files

allow the batch_size to be updated via $analysis_stats_adaptor->update($stats);

parent babaf94d
......@@ -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();
......
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