-
Notifications
You must be signed in to change notification settings - Fork 5.9k
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
Move all config constants into single file. #1192
Conversation
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
|
||
/* Create the global config object. */ | ||
PyObject *config = PyRayConfig_make(); | ||
/* TODO(rkn): Do we need Py_INCREF(config)? */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Might need to do this.
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
Merged build finished. Test FAILed. |
Test FAILed. |
@@ -49,8 +49,6 @@ PyObject *check_simple_value(PyObject *self, PyObject *args); | |||
PyObject *PyTask_to_string(PyObject *, PyObject *args); | |||
PyObject *PyTask_from_string(PyObject *, PyObject *args); | |||
|
|||
PyObject *compute_put_id(PyObject *self, PyObject *args); | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Removed because this was unused.
|
||
/* Number of times we try binding to a socket. */ | ||
#define NUM_BIND_ATTEMPTS 5 | ||
#define BIND_TIMEOUT_MS 100 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
NUM_BIND_ATTEMPTS
and BIND_TIMEOUT_MS
were not used anywhere.
cc @imzhenyu This moves all (unless I missed some), configuration constants into a single file |
This PR does the following:
Notes: