-
Notifications
You must be signed in to change notification settings - Fork 6.1k
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
configure learner queue timeout #5270
configure learner queue timeout #5270
Conversation
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test FAILed. |
Test PASSed. |
@@ -117,26 +117,26 @@ def setUpClass(cls): | |||
ray.init(num_cpus=8) | |||
|
|||
def testSimple(self): | |||
local, remotes = self._make_evs() | |||
local, remotes = self._make_envs() |
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.
Technically these aren't envs -- perhaps "_make_workers"?
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.
Looks good with a comment. The reason the timeout is needed is to avoid indefinite hangs should sampling crash, so it's probably a bug that the async replay optimizer doesn't have a timeout.
* configure learner queue timeout * lint * use config * fix method args order, add unit test * fix wrong param name
What do these changes do?
Makes learner queue timeout configurable for async samples optimizer.
Related issue number
Closes #5260
Linter
scripts/format.sh
to lint the changes in this PR.