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

inactivity_timeout for the vault endpoint isn't configurable/too short #76

Open
steveberryman opened this issue Aug 20, 2021 · 2 comments

Comments

@steveberryman
Copy link

We run a somewhat unconventional consul/vault setup, in that our clusters are far away from some of our servers and thus latency is pretty poor. With the hard-coded inactivity_timeout for vault of 1s here

inactivity_timeout: 1 # default connection inactivity (post-setup) timeout

consul-templaterb often times out during a run for some keys. I confirmed that increasing this to a longer time fixes the issue. Potentially somewhat of a niche request, but making this configurable would allow increase the timeout in cases where vault was a stupid distance away from the host consul-templaterb was running on.

@pierresouchay
Copy link
Contributor

@steveberryman Indeed, this is pretty hardcoded... there are lots of places where we borrow parameters from the command line, would you be interested with providing a patch?

@steveberryman
Copy link
Author

steveberryman commented Aug 20, 2021 via email

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

No branches or pull requests

2 participants