mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 02:51:50 +00:00
Increase ShadowSocks timeout
This commit is contained in:
parent
564e3e40be
commit
83736be9b6
1 changed files with 3 additions and 3 deletions
|
@ -21,14 +21,14 @@ if [ "$NBCPU" -gt 2 ]; then
|
|||
fi
|
||||
fi
|
||||
|
||||
if [ "$(uci -q get shadowsocks-libev.hi.timeout)" != "400" ]; then
|
||||
if [ "$(uci -q get shadowsocks-libev.hi.timeout)" != "600" ]; then
|
||||
uci -q batch <<-EOF > /dev/null
|
||||
set shadowsocks-libev.hi.timeout=400
|
||||
set shadowsocks-libev.hi.timeout=600
|
||||
commit shadowsocks-libev
|
||||
EOF
|
||||
for c in $(seq 2 $NBCPU); do
|
||||
uci -q batch <<-EOF > /dev/null
|
||||
set shadowsocks-libev.hi$c.timeout=400
|
||||
set shadowsocks-libev.hi$c.timeout=600
|
||||
commit shadowsocks-libev
|
||||
EOF
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue