Changeset 17528 for trunk/DataStore
- Timestamp:
- May 5, 2008, 10:45:53 AM (18 years ago)
- Location:
- trunk/DataStore
- Files:
-
- 2 edited
-
Changes (modified) (1 diff)
-
scripts/dsget (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/DataStore/Changes
r17527 r17528 2 2 3 3 0.07 4 - add dsget --timeout option 4 5 - change dsget to return the HTTP status code on failure 5 6 - remove use of parse_neb_key() from dsget -
trunk/DataStore/scripts/dsget
r17527 r17528 3 3 # Copyright (C) 2006-2008 Joshua Hoblitt 4 4 # 5 # $Id: dsget,v 1.1 8 2008-05-05 20:38:34jhoblitt Exp $5 # $Id: dsget,v 1.19 2008-05-05 20:45:53 jhoblitt Exp $ 6 6 7 7 use strict; … … 19 19 use Pod::Usage qw( pod2usage ); 20 20 21 my ($uri, $bytes, $md5, $nebulous, $filename, $volume, $server, $compress); 21 my ($uri, 22 $bytes, 23 $md5, 24 $nebulous, 25 $filename, 26 $volume, 27 $server, 28 $compress, 29 $timeout 30 ); 22 31 23 32 $server = $ENV{'NEB_SERVER'} unless $server; … … 32 41 'filename|f=s' => \$filename, 33 42 'compress|c' => \$compress, 43 'timeout|t' => \$timeout, 34 44 ) or pod2usage( 2 ); 35 45 … … 56 66 } 57 67 68 # default http request timeout is 30s 58 69 my %p = ( 59 70 uri => $uri, 60 71 type => 'chip', 72 timeout => $timeout ||= 30, 61 73 ); 62 74 … … 219 231 Optional, implies C<--nebulous> 220 232 233 =item * --timeout|-t 234 235 The ammount of time (in seconds) to wait for a response from the DataStore 236 after making an HTTP request. The default is 30s. 237 238 Optional. 239 221 240 =back 222 241
Note:
See TracChangeset
for help on using the changeset viewer.
