Skip to content

Commit

Permalink
fixed issue wherein setting tls=true in DynamoSettings overwrites the…
Browse files Browse the repository at this point in the history
… configured port to 443
  • Loading branch information
mavericksid committed May 23, 2019
1 parent f1d08ad commit 0473e7a
Showing 1 changed file with 1 addition and 1 deletion.
Expand Up @@ -38,7 +38,7 @@ private[dynamodb] class DynamoClientImpl(
.withMaxConnections(settings.parallelism)
.withMaxOpenRequests(settings.maxOpenRequests.getOrElse(settings.parallelism))
if (settings.tls)
Http().cachedHostConnectionPoolHttps[AwsRequestMetadata](settings.host, settings = poolSettings)
Http().cachedHostConnectionPoolHttps[AwsRequestMetadata](settings.host, settings.port, settings = poolSettings)
else
Http().cachedHostConnectionPool[AwsRequestMetadata](settings.host, settings.port, settings = poolSettings)
}
Expand Down

0 comments on commit 0473e7a

Please sign in to comment.