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

make control query timeout configurable #666

Closed
kaidaguerre opened this issue Jul 22, 2021 · 0 comments · Fixed by #1623
Closed

make control query timeout configurable #666

kaidaguerre opened this issue Jul 22, 2021 · 0 comments · Fixed by #1623
Labels
enhancement New feature or request
Milestone

Comments

@kaidaguerre
Copy link
Contributor

Currently control queries have a hard coded timeout (applies by Steampipe) , and other queries have no timeout (aside from any timeout postgres may be applying

All queries should have a timeout, determined by connection option query_timeout

options "connection" {
  cache         = true # true, false
  cache_ttl     = 3600 # expiration (TTL) in seconds
  query_timeout = 240  # query timeout in seconds
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant