mirror of
https://github.com/RROrg/rr.git
synced 2025-08-27 23:16:59 +08:00
Compare commits
3 Commits
906311665b
...
29226d0e33
Author | SHA1 | Date | |
---|---|---|---|
|
29226d0e33 | ||
|
b63ddabe95 | ||
|
6c76070b38 |
@ -8,7 +8,7 @@
|
||||
|
||||
# shellcheck disable=SC2034
|
||||
|
||||
RR_VERSION="25.4.0"
|
||||
RR_VERSION="25.4.1"
|
||||
RR_RELEASE=""
|
||||
RR_TITLE="RR v${RR_VERSION}"
|
||||
|
||||
|
@ -224,7 +224,7 @@ function _get_fastest() {
|
||||
done
|
||||
else
|
||||
for I in "$@"; do
|
||||
speed=$(curl -skL -w '%{time_total}' "${I}" -o /dev/null)
|
||||
speed=$(curl -skL -m 10 --connect-timeout 10 -w '%{time_total}' "${I}" -o /dev/null)
|
||||
speed=$(awk "BEGIN {print (${speed:-0.999} * 1000)}")
|
||||
speedlist+="${I} ${speed:-999}\n" # Assign default value 999 if speed is empty
|
||||
done
|
||||
|
@ -1 +1 @@
|
||||
25.4.0
|
||||
25.4.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user