mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
Increase timeout
This commit is contained in:
parent
af13d7f2c9
commit
f68eaf4a02
3 changed files with 4 additions and 4 deletions
|
@ -68,7 +68,7 @@ start_instance() {
|
||||||
|
|
||||||
procd_append_param command \
|
procd_append_param command \
|
||||||
retry count -1 const 5000000 \
|
retry count -1 const 5000000 \
|
||||||
timeout 10000 \
|
timeout 40000 \
|
||||||
keepalive count 5 idle 60 interval 2
|
keepalive count 5 idle 60 interval 2
|
||||||
|
|
||||||
procd_set_param respawn 0 30 0
|
procd_set_param respawn 0 30 0
|
||||||
|
|
|
@ -10,7 +10,7 @@ if [ "$NBCPU" -gt 2 ]; then
|
||||||
set shadowsocks-libev.hi$c.local_address="0.0.0.0"
|
set shadowsocks-libev.hi$c.local_address="0.0.0.0"
|
||||||
set shadowsocks-libev.hi$c.local_port=1100
|
set shadowsocks-libev.hi$c.local_port=1100
|
||||||
set shadowsocks-libev.hi$c.mode=tcp_and_udp
|
set shadowsocks-libev.hi$c.mode=tcp_and_udp
|
||||||
set shadowsocks-libev.hi$c.timeout=400
|
set shadowsocks-libev.hi$c.timeout=600
|
||||||
set shadowsocks-libev.hi$c.fast_open=1
|
set shadowsocks-libev.hi$c.fast_open=1
|
||||||
set shadowsocks-libev.hi$c.reuse_port=1
|
set shadowsocks-libev.hi$c.reuse_port=1
|
||||||
set shadowsocks-libev.hi$c.mptcp=1
|
set shadowsocks-libev.hi$c.mptcp=1
|
||||||
|
|
|
@ -3,7 +3,7 @@ config ss_redir hi
|
||||||
option local_address '::'
|
option local_address '::'
|
||||||
option local_port '1100'
|
option local_port '1100'
|
||||||
option mode 'tcp_and_udp'
|
option mode 'tcp_and_udp'
|
||||||
option timeout '400'
|
option timeout '600'
|
||||||
option fast_open 1
|
option fast_open 1
|
||||||
option verbose 0
|
option verbose 0
|
||||||
option reuse_port 1
|
option reuse_port 1
|
||||||
|
@ -15,7 +15,7 @@ config ss_redir hi2
|
||||||
option local_address '0.0.0.0'
|
option local_address '0.0.0.0'
|
||||||
option local_port '1100'
|
option local_port '1100'
|
||||||
option mode 'tcp_and_udp'
|
option mode 'tcp_and_udp'
|
||||||
option timeout '400'
|
option timeout '600'
|
||||||
option fast_open 1
|
option fast_open 1
|
||||||
option verbose 0
|
option verbose 0
|
||||||
option reuse_port 1
|
option reuse_port 1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue