Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error messages when nodes can't communicate with each other. #223

Merged
merged 3 commits into from
Jan 22, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Change retries back to 5.
  • Loading branch information
robertnishihara committed Jan 22, 2017
commit d765e1d5d7d30c6a9921fcfe225afa979970af6c
2 changes: 1 addition & 1 deletion python/ray/services.py
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ def get_node_ip_address(address="8.8.8.8:53"):
s.connect((host, int(port)))
return s.getsockname()[0]

def wait_for_redis_to_start(redis_host, redis_port, num_retries=2):
def wait_for_redis_to_start(redis_host, redis_port, num_retries=5):
"""Wait for a Redis server to be available.

This is accomplished by creating a Redis client and sending a random command
Expand Down