Skip to content

Commit

Permalink
Merge branch 'smart-test-ti:master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
huangwei1024 authored Sep 18, 2023
2 parents 85fad2c + 0ea7755 commit f4a6e0d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion solox/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@

from __future__ import absolute_import

__version__ = '2.7.5'
__version__ = '2.7.6'
2 changes: 1 addition & 1 deletion solox/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ <h2 class="page-title">
</li>
<li class="list-inline-item">
<a href="https://github.com/smart-test-ti/SoloX/releases" target="_blank" class="link-secondary" rel="noopener">
{% if lan == 'cn' %} 版本 {% else %} Releases {% endif %} . V2.7.5
{% if lan == 'cn' %} 版本 {% else %} Releases {% endif %} . V2.7.6
</a>
</li>
</ul>
Expand Down
11 changes: 5 additions & 6 deletions solox/web.py
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,11 @@ def start(host: str, port: int):

def main(host=ip(), port=50003):
try:
if listen(port):
pool = multiprocessing.Pool(processes=2)
pool.apply_async(start, (host, port))
pool.apply_async(open_url, (host, port))
pool.close()
pool.join()
pool = multiprocessing.Pool(processes=2)
pool.apply_async(start, (host, port))
pool.apply_async(open_url, (host, port))
pool.close()
pool.join()
except KeyboardInterrupt:
logger.info('stop solox success')
sys.exit()
Expand Down

0 comments on commit f4a6e0d

Please sign in to comment.