1
0
Fork 0
mirror of https://github.com/retspen/webvirtcloud synced 2026-11-08 19:26:48 +00:00

docs(gstfsd): GSTFSD_PORT is for the tests; the panel always connects to 16510

gstfsd read its port from the environment while the panel has 16510 as a
constant, so a host that set GSTFSD_PORT could no longer be reached. The
documentation already gives 16510 everywhere; the variable now says it
exists for the tests.
This commit is contained in:
catborise 2026-11-05 16:39:41 +03:00
parent 2e4e9c78f8
commit c62de11147

View file

@ -38,6 +38,8 @@ import time
HEX64 = re.compile(r"[0-9a-f]{64}")
KEY = os.environ.get("GSTFSD_KEY", "").strip()
# the panel always connects to 16510 (instances.views.GSTFSD_PORT); GSTFSD_PORT
# is for the tests, which run gstfsd on a free port
PORT = int(os.environ.get("GSTFSD_PORT", 16510))
ADDRESS = os.environ.get("GSTFSD_BIND_HOST", "127.0.0.1")
MAX_REQUEST = 64 * 1024