Skip to content

Commit

Permalink
Merge pull request XX-net#8285 from wooowooo/patch3
Browse files Browse the repository at this point in the history
confirm_xxnet_exit():  sent quit to only launcher
  • Loading branch information
xxnet authored Nov 13, 2017
2 parents 0e77837 + cc065c2 commit 8d53eb2
Showing 1 changed file with 9 additions and 9 deletions.
18 changes: 9 additions & 9 deletions code/default/launcher/web_control.py
Original file line number Diff line number Diff line change
Expand Up @@ -495,15 +495,15 @@ def confirm_xxnet_exit():
is_xxnet_exit = False
xlog.debug("start confirm_xxnet_exit")

for i in range(30):
# gae_proxy(default port:8087)
if http_request("http://127.0.0.1:8087/quit") == False:
xlog.debug("good, xxnet:8087 cleared!")
is_xxnet_exit = True
break
else:
xlog.debug("<%d>: try to terminate xxnet:8087" % i)
time.sleep(1)
#for i in range(30):
# # gae_proxy(default port:8087)
# if http_request("http://127.0.0.1:8087/quit") == False:
# xlog.debug("good, xxnet:8087 cleared!")
# is_xxnet_exit = True
# break
# else:
# xlog.debug("<%d>: try to terminate xxnet:8087" % i)
# time.sleep(1)


for i in range(30):
Expand Down

0 comments on commit 8d53eb2

Please sign in to comment.