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

[xray] Fix heartbeat subscription for autoscaler #2498

Merged
merged 20 commits into from
Jul 28, 2018
Prev Previous commit
Next Next commit
up
  • Loading branch information
ericl committed Jul 25, 2018
commit b27f5ec7db30109dc88c652bda92366c4a8339c2
2 changes: 1 addition & 1 deletion python/ray/autoscaler/autoscaler.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def recover_if_needed(self, node_id):
return
print(
"StandardAutoscaler: No heartbeat from node "
"{} in {} seconds, restarting Ray to recover".format(
"{} in {} seconds, restarting Ray to recover...".format(
node_id, delta))
updater = self.node_updater_cls(
node_id,
Expand Down
1 change: 1 addition & 0 deletions python/ray/monitor.py
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,7 @@ def process_messages(self, max_messages=10000):
max_messages: The maximum number of messages to process before
returning.
"""
print("PROCESS MESSAGES")
for _ in range(max_messages):
message = self.subscribe_client.get_message()
if message is None:
Expand Down