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

Plugin start timeout limited to 60s #4477

Open
nmische opened this issue Jan 25, 2025 · 1 comment
Open

Plugin start timeout limited to 60s #4477

nmische opened this issue Jan 25, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@nmische
Copy link
Contributor

nmische commented Jan 25, 2025

Describe the bug
Plugin start timeout configuration longer than 60s not respected.

Steampipe version (steampipe -v)
v1.0.2

To reproduce
Configure several kubernetes connections (~20) to globally distributed clusters with many CRDs (~20). Configure plugin timeout to 5 mins:

plugin "kubernetes" {
  start_timeout = 300
}

Expected behavior
Steampipe should wait up to 300s (5min) for the kubernetes plugin to start.

Additional context
I had originally submitted a PR to allow for plugin start timeout configuration here. This allowed start timeout to be extended beyond the default 30s, however as additional kubernets connections were added to my configuration I noticed plugin startup times out at 60s, despite setting plugin start timeout to 300s.

@nmische nmische added the bug Something isn't working label Jan 25, 2025
nmische added a commit to nmische/steampipe that referenced this issue Jan 25, 2025
@nmische
Copy link
Contributor Author

nmische commented Jan 25, 2025

I was able to trace this back to the hashicorp/go-plugin package, which has a default timeout of 60s.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant