Skip to content

Commit

Permalink
Standardize TMP_DIR option
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Scavo committed Dec 13, 2016
1 parent 7007319 commit 697af7f
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions bin/check_idp_error_urls.sh
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,9 @@ display_help () {
are often used together for cron jobs.
The argument of the -t option is the TCP connect time, that is,
the maximum time (in secs) allotted to the TCP connection. Note
that the TCP connect time includes the time it takes to do a
DNS name lookup. Since the latter is unconstrained, it may
the maximum time (in secs) allotted to make a TCP connection.
Note that the TCP connect time includes the time it takes to
do a DNS name lookup. Since the latter is unconstrained, it may
consume all available TCP connect time. Thus the TCP connect
time should be kept small (say, less than 10 seconds) since
larger values will slow this script considerably. The default
Expand Down Expand Up @@ -563,7 +563,7 @@ $verbose_mode && printf "$script_name using curl opts: %s\n" "$curl_opts"
if $md_file_mode; then
entityDescriptor=$( getEntityFromFile -f "$md_path" $entityID )
else
entityDescriptor=$( getEntityFromServer -d "$TMP_DIR" -u "$mdq_base_url" $entityID )
entityDescriptor=$( getEntityFromServer -T "$TMP_DIR" -u "$mdq_base_url" $entityID )
fi
return_code=$?
if [ "$return_code" -ne 0 ]; then
Expand Down

0 comments on commit 697af7f

Please sign in to comment.