Skip to content

Commit

Permalink
chore: Add extra explanation.
Browse files Browse the repository at this point in the history
  • Loading branch information
mturoci committed Jun 21, 2023
1 parent 2dfe8ab commit 30d2acc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions py/h2o_wave/h2o_wave/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,8 @@ async def _share(port: int, subdomain: str, remote_host: str):
print('Press Ctrl+C to stop sharing.')

max_conn_count = res['max_conn_count']
# The server can be configured to either support 10 concurrent connections (default) or more.
# If more, connect in batches of 100 for better performance.
step = 100 if max_conn_count > 10 else max_conn_count

tasks = []
Expand Down

0 comments on commit 30d2acc

Please sign in to comment.