diff options
author | Xavier Roche <roche@httrack.com> | 2023-01-14 17:12:45 +0100 |
---|---|---|
committer | Xavier Roche <roche@httrack.com> | 2023-01-14 17:21:58 +0100 |
commit | 80b8e33d65c5b9207b9ec506b731fc3e26ccea4b (patch) | |
tree | 570abad2dfcc62d14d8bf890425a580ffa5fd072 /src/htscoremain.c | |
parent | fa0e5f72e079cf5b3dc0331c12499e04875d7726 (diff) |
Push default bandwidth to 100kiB/s, max to 10MiB/s
Diffstat (limited to 'src/htscoremain.c')
-rw-r--r-- | src/htscoremain.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/htscoremain.c b/src/htscoremain.c index 14cdba3..91cb423 100644 --- a/src/htscoremain.c +++ b/src/htscoremain.c @@ -3164,8 +3164,8 @@ static int hts_main_internal(int argc, char **argv, httrackp * opt) { "* security warning: maximum number of simultaneous connections limited to %d to avoid server overload", (int) opt->maxsoc); } - if (opt->maxrate <= 0 || opt->maxrate > 250000) { - opt->maxrate = 250000; + if (opt->maxrate <= 0 || opt->maxrate > 10000000) { + opt->maxrate = 10000000; hts_log_print(opt, LOG_WARNING, "* security warning: maximum bandwidth limited to %d to avoid server overload", (int) opt->maxrate); |