IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Changeset 34232


Ignore:
Timestamp:
Jul 31, 2012, 10:26:15 AM (14 years ago)
Author:
bills
Message:

add a timeout to the dsget of the request files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/pstamp/scripts/pstamp_parser_run.pl

    r33126 r34232  
    127127if ($uri =~ /^http:/) {
    128128    # if the uri is an http uri download the file
    129     my $command = "$dsget --uri $uri --filename $new_uri";
     129    my $command = "$dsget --uri $uri --filename $new_uri --timeout 120";
    130130    my ( $success, $error_code, $full_buf, $stdout_buf, $stderr_buf ) =
    131131        run(command => $command, verbose => $verbose);
Note: See TracChangeset for help on using the changeset viewer.