1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Default value for waitretry.

This commit is contained in:
Steven Schubiger 2008-11-15 13:25:20 +01:00
parent 94d7b0b570
commit 47bf277fb5
5 changed files with 17 additions and 4 deletions

View File

@ -1,3 +1,11 @@
2008-11-15 Steven Schubiger <stsc@members.fsf.org>
* sample.wgetrc: Comment the waitretry "default" value,
because there is a global one now.
* wget.texi (Download Options): Mention the global
default value.
2008-11-10 Micah Cowan <micah@cowan.name>
* Makefile.am (EXTRA_DIST): Removed no-longer-present

View File

@ -49,7 +49,7 @@
# downloads, set waitretry to maximum number of seconds to wait (Wget
# will use "linear backoff", waiting 1 second after the first failure
# on a file, 2 seconds after the second failure, etc. up to this max).
waitretry = 10
#waitretry = 10
##

View File

@ -824,8 +824,7 @@ file, up to the maximum number of @var{seconds} you specify. Therefore,
a value of 10 will actually make Wget wait up to (1 + 2 + ... + 10) = 55
seconds per file.
Note that this option is turned on by default in the global
@file{wgetrc} file.
By default, Wget will assume a value of 10 seconds.
@cindex wait, random
@cindex random wait

View File

@ -1,3 +1,7 @@
2008-11-15 Steven Schubiger <stsc@members.fsf.org>
* init.c (defaults): Set default waitretry value.
2008-11-14 Steven Schubiger <stsc@members.fsf.org>
* main.c (format_and_print_line): Use a custom format

View File

@ -331,6 +331,8 @@ defaults (void)
opt.restrict_files_case = restrict_no_case_restriction;
opt.max_redirect = 20;
opt.waitretry = 10;
}
/* Return the user's home directory (strdup-ed), or NULL if none is