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

fix(api): Increase default connection timeout, add custom timeout for long running operations #788

Merged
merged 7 commits into from
Jan 31, 2025

Conversation

Josh-Matsuoka
Copy link
Contributor

Fixes #782

This PR increases the standard connection timeout to 30 seconds as discussed in the issue and adds a custom timeout for long running operations (recording archiving, grafana uploads) controlled by cryostat.connections.upload-failed-timeout. It also increases the quarkus test timeout to 60s instead of the default 30 as when the test times out before the connection does it will fail the test rather than going through the expected exception handling of the endpoint being tested.

@Josh-Matsuoka
Copy link
Contributor Author

/build_test

Copy link

Workflow started at 1/30/2025, 8:14:06 PM. View Actions Run.

Copy link

No OpenAPI schema changes detected.

Copy link

No GraphQL schema changes detected.

Copy link

CI build and push: All tests pass ✅
https://github.com/cryostatio/cryostat/actions/runs/13064423858

@andrewazores
Copy link
Member

/build_test

Copy link

Workflow started at 1/30/2025, 9:14:41 PM. View Actions Run.

Copy link

No GraphQL schema changes detected.

Copy link

No OpenAPI schema changes detected.

Copy link

CI build and push: All tests pass ✅
https://github.com/cryostatio/cryostat/actions/runs/13065077849

@andrewazores andrewazores merged commit fb3e728 into cryostatio:main Jan 31, 2025
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] Long-running file operations can fail internally
2 participants