-
Notifications
You must be signed in to change notification settings - Fork 0
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
adding timeout to allocate call and adding total timeout to allocate #1
base: master
Are you sure you want to change the base?
Conversation
@@ -82,6 +82,13 @@ const ( | |||
batchWaitTime = 500 * time.Millisecond | |||
) | |||
|
|||
const ( | |||
// Timeout for an individual Allocate RPC call can take | |||
remoteAllocateTimeout = 10 * time.Second |
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.
@kdima - is it worth making these CLI args of the allocator? In an ideal world, I think we'd want to set these to like 1s
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.
Yeah it's a bit weird. I could not find a good place to add them. Will ask the maintainers
What type of PR is this?
What this PR does / Why we need it:
Which issue(s) this PR fixes:
Closes #
Special notes for your reviewer: