Skip to content

Commit c465171

Browse files
Alex WuAlex
Alex Wu
authored and
Alex
committed
[hotfix] Disable dashboard agent windows (#14062)
1 parent 311cf74 commit c465171

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

dashboard/agent.py

+11
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
import sys
88
import socket
99
import json
10+
import time
1011
import traceback
1112

1213
import aiohttp
@@ -296,6 +297,16 @@ async def _check_parent():
296297
max_bytes=args.logging_rotate_bytes,
297298
backup_count=args.logging_rotate_backup_count)
298299

300+
# The dashboard is currently broken on Windows.
301+
# https://github.com/ray-project/ray/issues/14026.
302+
if sys.platform == "win32":
303+
logger.warning(
304+
"The dashboard is currently disabled on windows."
305+
"See https://github.com/ray-project/ray/issues/14026"
306+
"for more details")
307+
while True:
308+
time.sleep(999)
309+
299310
agent = DashboardAgent(
300311
args.node_ip_address,
301312
args.redis_address,

0 commit comments

Comments
 (0)