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 typo concerning heartbeat_timeout_milliseconds in monitor #2586

Merged
merged 4 commits into from
Aug 7, 2018

Conversation

pcmoritz
Copy link
Contributor

@pcmoritz pcmoritz commented Aug 7, 2018

This is not affecting default behavior since the two constants are the same, but we should use the correct one (e.g. if the user changes ray_constants.h).

@@ -16,7 +16,7 @@ namespace raylet {
Monitor::Monitor(boost::asio::io_service &io_service, const std::string &redis_address,
int redis_port)
: gcs_client_(),
heartbeat_timeout_ms_(RayConfig::instance().num_heartbeats_timeout()),
heartbeat_timeout_ms_(RayConfig::instance().heartbeat_timeout_milliseconds()),
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking at the way the field is used, I actually think num_heartbeats_timeout is correct and that the field is misnamed.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are right, I fixed it!

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/7286/
Test PASSed.

@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/7289/
Test PASSed.

@AmplabJenkins
Copy link

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/7308/
Test FAILed.

@pcmoritz
Copy link
Contributor Author

pcmoritz commented Aug 7, 2018

jenkins retest this please

@robertnishihara robertnishihara merged commit e7f76d7 into ray-project:master Aug 7, 2018
@robertnishihara robertnishihara deleted the fix-ray-constants branch August 7, 2018 20:45
@AmplabJenkins
Copy link

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Ray-PRB/7314/
Test PASSed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants