Skip to content

Commit

Permalink
[hotfix] Disable dashboard agent windows (#14062)
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Wu authored and Alex committed Feb 12, 2021
1 parent 311cf74 commit c465171
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions dashboard/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
import sys
import socket
import json
import time
import traceback

import aiohttp
Expand Down Expand Up @@ -296,6 +297,16 @@ async def _check_parent():
max_bytes=args.logging_rotate_bytes,
backup_count=args.logging_rotate_backup_count)

# The dashboard is currently broken on Windows.
# https://github.com/ray-project/ray/issues/14026.
if sys.platform == "win32":
logger.warning(
"The dashboard is currently disabled on windows."
"See https://github.com/ray-project/ray/issues/14026"
"for more details")
while True:
time.sleep(999)

agent = DashboardAgent(
args.node_ip_address,
args.redis_address,
Expand Down

0 comments on commit c465171

Please sign in to comment.