IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34534


Ignore:
Timestamp:
Oct 22, 2012, 12:29:09 PM (14 years ago)
Author:
watersc1
Message:

Update ipp_apply_bt_single to try and avoid database failure issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/ippScripts/scripts/ipp_apply_burntool_single.pl

    r34429 r34534  
    241241    $status = vsystem ($command, $REALRUN);
    242242    if ($status) {
    243         &my_die("failed to update imfile");
     243        &my_die("failed to update imfile",$exp_id,$class_id);
    244244    }
    245245
     
    274274        my $exp_id = shift;
    275275        my $class_id = shift;
     276        sleep(5); # Take a quick nap to let the database cool down, in case we failed doing an update.
    276277        vsystem("$regtool -dbname $dbname -updateprocessedimfile -exp_id $exp_id -class_id $class_id -burntool_state 0 -set_state pending_burntool",1);
    277278    }
Note: See TracChangeset for help on using the changeset viewer.