From 1edf462e9b42f2a3fcd956dac0b3bae55db5349a Mon Sep 17 00:00:00 2001 From: Usama Abdul Sattar Date: Sat, 25 May 2019 11:14:49 +0500 Subject: [PATCH] Update Actions.py --- Defs/Actions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Defs/Actions.py b/Defs/Actions.py index 1fc91d9..69bc540 100644 --- a/Defs/Actions.py +++ b/Defs/Actions.py @@ -190,7 +190,7 @@ def customServeo(): lnk += ".serveo.net" else: pass - system('ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -R %s:80:localhost:1111 serveo.net > link.url 2> /dev/null &' % (lnk)) + system('ssh -o StrictHostKeyChecking=no -o ServerAliveInterval=60 -o ServerAliveCountMax=60 -R %s:80:localhost:1111 serveo.net > link.url 2> /dev/null &' % (lnk)) sleep(7) try: output = check_output("grep -o '.\{0,0\}http.\{0,100\}' link.url",shell=True)