Open
Conversation
Signed-off-by: jorgee <jorge.ejarque@seqera.io>
✅ Deploy Preview for nextflow-docs-staging ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
bentsherman
reviewed
Apr 13, 2026
|
|
||
| The `aws.client.connectionTimeout` option continues to work as before, controlling the timeout for establishing new connections. | ||
|
|
||
| The `aws.client.socketTimeout` option behaves differently depending on the HTTP client. For synchronous connections, it applies directly as a socket timeout with a default of `30000` ms. For S3 transfers using the CRT client, no default is applied; when explicitly set, this value is translated into a CRT connection health check that enforces a minimum throughput of 1 byte per second within the specified timeout period. This allows Nextflow to detect and close stalled CRT connections that are no longer making progress. |
Member
There was a problem hiding this comment.
If we know the default for the sync client is 30s, can we just apply that default manually to the CRT client as well? Then we could simply say that the default is 30s across the board
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request updates how the
socket_timeoutconfiguration is handled for AWS S3 transfers using the CRT client in the SDK v2 integration. The main improvement is that whensocket_timeoutis set, it is now translated into a CRT connection health check, allowing the detection and closure of stalled S3 connections. The documentation and tests have also been updated to reflect this new behavior.AWS S3 CRT Client Timeout Handling:
socket_timeoutproperty for S3 transfers using the CRT client is now mapped to a connection health check that enforces a minimum throughput of 1 byte per second within the specified timeout period, instead of being ignored. This helps detect and close stalled CRT connections.Documentation Updates:
aws-java-sdk-v2.md) and configuration reference (config.md) have been updated to clarify the new behavior of theaws.client.socketTimeoutoption for CRT-based S3 transfers, including the lack of a default and the new health check mechanism. [1] [2]Testing Enhancements:
socket_timeoutis specified.Dependency and Import Adjustments:
S3CrtConnectionHealthConfigurationto support the new health check configuration.