diff --git a/glorytun/init b/glorytun/init index 7ea1f7c20..cbf6056f3 100755 --- a/glorytun/init +++ b/glorytun/init @@ -68,7 +68,7 @@ start_instance() { procd_append_param command \ retry count -1 const 5000000 \ - timeout 10000 \ + timeout 40000 \ keepalive count 5 idle 60 interval 2 procd_set_param respawn 0 30 0 diff --git a/openmptcprouter/files/etc/uci-defaults/1930-omr-shadowsocks b/openmptcprouter/files/etc/uci-defaults/1930-omr-shadowsocks index 10dec8e79..9ce61135b 100755 --- a/openmptcprouter/files/etc/uci-defaults/1930-omr-shadowsocks +++ b/openmptcprouter/files/etc/uci-defaults/1930-omr-shadowsocks @@ -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_port=1100 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.reuse_port=1 set shadowsocks-libev.hi$c.mptcp=1 diff --git a/shadowsocks-libev/files/shadowsocks-libev.config b/shadowsocks-libev/files/shadowsocks-libev.config index 490a99125..6cc32f466 100644 --- a/shadowsocks-libev/files/shadowsocks-libev.config +++ b/shadowsocks-libev/files/shadowsocks-libev.config @@ -3,7 +3,7 @@ config ss_redir hi option local_address '::' option local_port '1100' option mode 'tcp_and_udp' - option timeout '400' + option timeout '600' option fast_open 1 option verbose 0 option reuse_port 1 @@ -15,7 +15,7 @@ config ss_redir hi2 option local_address '0.0.0.0' option local_port '1100' option mode 'tcp_and_udp' - option timeout '400' + option timeout '600' option fast_open 1 option verbose 0 option reuse_port 1