improvement: warn if ports-range is too narrow

...and improve the docstring for the parameter.
This commit is contained in:
WofWca 2024-12-13 16:17:24 +04:00
parent cb32d008ca
commit 92521b6679
3 changed files with 29 additions and 1 deletions

View file

@ -51,6 +51,7 @@ Usage of ./proxy:
-ephemeral-ports-range range
Set the range of ports used for client connections (format:"<min>:<max>").
If omitted, the ports will be chosen automatically from a wide range.
When specifying the range, make sure it's at least 2x as wide as the amount of clients that you are hoping to serve concurrently (see the "capacity" flag).
-keep-local-addresses
keep local LAN address ICE candidates.
This is usually pointless because Snowflake clients don't usually reside on the same local network as the proxy.