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:
parent
2e4e9c78f8
commit
c62de11147
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue