Use explicit ipv4 in curl makefile; add timeout; disable unused emulator threads

parent 30f7e6b9
...@@ -25,7 +25,7 @@ config/prod-sys.config: config/sys.config.example ...@@ -25,7 +25,7 @@ config/prod-sys.config: config/sys.config.example
config/prod-vm.args: config/vm.args.example config/prod-vm.args: config/vm.args.example
[ -f $@ ] && diff $^ $@ || true [ -f $@ ] && diff $^ $@ || true
cp -i -b $^ $@ cp -i -b $^ $@
@IP=$(shell curl -s http://ip.seriyps.ru || curl -s https://digitalresistance.dog/myIp) \ @IP=$(shell curl -s -4 -m 10 http://ip.seriyps.ru || curl -s -4 -m 10 https://digitalresistance.dog/myIp) \
&& sed -i s/@0\.0\.0\.0/@$${IP}/ $@ && sed -i s/@0\.0\.0\.0/@$${IP}/ $@
user: user:
......
...@@ -3,4 +3,6 @@ ...@@ -3,4 +3,6 @@
-setcookie mtproto-proxy-cookie -setcookie mtproto-proxy-cookie
## this one is essential for >500 connections ## this one is essential for >500 connections
+K true +K true
\ No newline at end of file +A 2
+SDio 2
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment