-
Notifications
You must be signed in to change notification settings - Fork 10
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
Conversation
/build_test |
Workflow started at 1/30/2025, 8:14:06 PM. View Actions Run. |
No OpenAPI schema changes detected. |
No GraphQL schema changes detected. |
CI build and push: All tests pass ✅ |
/build_test |
Workflow started at 1/30/2025, 9:14:41 PM. View Actions Run. |
No GraphQL schema changes detected. |
No OpenAPI schema changes detected. |
CI build and push: All tests pass ✅ |
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.