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

adding timeout to allocate call and adding total timeout to allocate #1

Open
wants to merge 29 commits into
base: master
Choose a base branch
from

Conversation

kdima
Copy link
Owner

@kdima kdima commented Sep 15, 2020

What type of PR is this?

Uncomment only one /kind <> line, hit enter to put that in a new line, and remove leading whitespace from that line:

/kind breaking
/kind bug
/kind cleanup
/kind documentation
/kind feature
/kind hotfix

What this PR does / Why we need it:

Which issue(s) this PR fixes:

Closes #

Special notes for your reviewer:

@@ -82,6 +82,13 @@ const (
batchWaitTime = 500 * time.Millisecond
)

const (
// Timeout for an individual Allocate RPC call can take
remoteAllocateTimeout = 10 * time.Second

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

Copy link
Owner Author

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

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.

2 participants