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
@@ -63,8 +63,8 @@ class RayParams(object):
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.
logging_level: Logging level, default will be logging.INFO.
logging_format: Logging format, default contains a timestamp,
@@ -113,7 +113,7 @@ class RayParams(object):
worker_path=None,
huge_pages=False,
include_webui=None,
webui_host="127.0.0.1",
webui_host="localhost",
logging_level=logging.INFO,
logging_format=ray_constants.LOGGER_FORMAT,
plasma_store_socket_name=None,