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

feat: add ability to configure timeout in AWSClientConfiguration #1151

Closed
wants to merge 3 commits into from

Conversation

dayaffe
Copy link
Contributor

@dayaffe dayaffe commented Sep 25, 2023

Add ability to configure connectTimeoutMs in AWSClientConfiguration.

Issue #

#1065
Companion PR: #592

Description of changes

  • expose connectTimeoutMs in AWSClientConfiguration which is used to create a CRTClientEngine() with the related configuration.

Ex. Usage (S3)

let client = try await S3Client(
    config: S3Client.S3ClientConfiguration(connectTimeoutMs: 15_000)
)

New/existing dependencies impact assessment, if applicable

Conventional Commits

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Package.swift Outdated
@@ -68,7 +68,7 @@ func addClientRuntimeDependency(_ version: Version) {
]
case (false, true):
package.dependencies += [
.package(url: smithySwiftURL, .branch("main"))
.package(url: smithySwiftURL, .branch("day/expose-timeout"))
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will be reverted back to main, this is only for CI

@dayaffe dayaffe closed this Sep 25, 2023
@dayaffe
Copy link
Contributor Author

dayaffe commented Sep 25, 2023

Changing branch name to accompany smithy-swift change

@dayaffe dayaffe deleted the day/expose-timeout-config branch November 19, 2024 18:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant