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

Add CLI flag for SQS RPC timeout #3157

Merged
merged 1 commit into from
May 4, 2018
Merged

Add CLI flag for SQS RPC timeout #3157

merged 1 commit into from
May 4, 2018

Conversation

leth
Copy link
Contributor

@leth leth commented May 3, 2018

This allows us to configure the timeout to be lower than the upstream authenticating proxy, so that RPC timeouts are sent to the client rather than generic 504 errors from the proxy.

Happy to change the new threshold, I (mostly) picked the number out of the air!
I considered adjusting the historgram buckets to fit with this number, but wasn't sure what to pick.

@leth leth requested a review from jml May 3, 2018 16:03
Copy link
Contributor

@jml jml left a comment

Choose a reason for hiding this comment

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

Would prefer this to be a flag, but this is perfectly OK.

Maybe add a comment saying how we came up with 25s?

@leth leth force-pushed the lower-rpc-timeout branch from 006f3c8 to ba81924 Compare May 4, 2018 09:12
@leth leth changed the title Lower SQS RPC timeout from 1m to 25s Add CLI flag for SQS RPC timeout May 4, 2018
@leth leth merged commit 324173f into master May 4, 2018
@leth leth deleted the lower-rpc-timeout branch May 4, 2018 10:19
@bboreham
Copy link
Collaborator

The description of this PR should include why it was done, so it can be understood without reference to a private repo.

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