Commit 6f757efc authored by Leo Gordon's avatar Leo Gordon
Browse files

bugfix: add one more minute to account for later reports

parent fa6a1518
......@@ -133,8 +133,8 @@ sub main {
warn "No bacct information given, finding out the time interval when the pipeline was run on '$this_lsf_farm' ...\n";
my $offset_died_expression = ($dbc->driver eq 'sqlite')
? "datetime(max(died), '+1 minute')"
? "datetime(max(died), '+2 minutes')"
my $sth_times = $dbc->prepare( "SELECT min(born), $offset_died_expression FROM worker WHERE meadow_type='LSF' AND meadow_name='$this_lsf_farm' AND status='DEAD'" );
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