Port webui nits from original pr that enables it (#6628)

* backport changes

* Update test_webui.py
This commit is contained in:
Eric Liang
2019-12-29 19:19:43 -08:00
committed by GitHub
parent 3e0f07468f
commit e2bc489a18
6 changed files with 19 additions and 30 deletions
+3 -3
View File
@@ -548,7 +548,7 @@ def init(address=None,
plasma_directory=None,
huge_pages=False,
include_webui=None,
webui_host="127.0.0.1",
webui_host="localhost",
job_id=None,
configure_logging=True,
logging_level=logging.INFO,
@@ -631,8 +631,8 @@ def init(address=None,
is None, then the UI will be started if the relevant dependencies
are present.
webui_host: The host to bind the web UI server to. Can either be
127.0.0.1 (localhost) or 0.0.0.0 (available from all interfaces).
By default, this is set to 127.0.0.1 to prevent access from
localhost (127.0.0.1) or 0.0.0.0 (available from all interfaces).
By default, this is set to localhost to prevent access from
external machines.
job_id: The ID of this job.
configure_logging: True if allow the logging cofiguration here.