amazonka-s3-streaming 0.2.0.4 → 0.2.0.5
raw patch · 4 files changed
+11/−6 lines, 4 filesdep ~http-clientPVP ok
version bump matches the API change (PVP)
Dependency ranges changed: http-client
API changes (from Hackage documentation)
Files
- Changelog.md +8/−2
- README.md +1/−0
- amazonka-s3-streaming.cabal +1/−1
- src/Network/AWS/S3/StreamingUpload.hs +1/−3
Changelog.md view
@@ -1,9 +1,15 @@ # Changelog - amazonka-s3-streaming -# 0.2.0.3+## 0.2.0.5+- Fix compatibility with ++## 0.2.0.4+- Make building s3upload executable optional++## 0.2.0.3 * Make all library generated messages use Debug level not Info -# 0.2.0.2+## 0.2.0.2 * Update to mmorph < 1.2 ## 0.2.0.1
README.md view
@@ -3,3 +3,4 @@ Provides a conduit based streaming interface and a concurrent interface to uploading data to S3 using the Multipart API. Also provides method to upload files or bytestrings of known size in parallel. The documentation can be found on [Hackage](https://hackage.haskell.org/package/amazonka-s3-streaming).+
amazonka-s3-streaming.cabal view
@@ -1,5 +1,5 @@ name: amazonka-s3-streaming-version: 0.2.0.4+version: 0.2.0.5 synopsis: Provides conduits to upload data to S3 using the Multipart API description: Provides a conduit based streaming interface and a concurrent interface to uploading data to S3 using the Multipart API. Also provides method to upload
src/Network/AWS/S3/StreamingUpload.hs view
@@ -75,7 +75,6 @@ import Network.HTTP.Client (defaultManagerSettings, managerConnCount, newManager)-import Network.HTTP.Client.Internal (mMaxConns) type ChunkSize = Int type NumThreads = Int@@ -219,8 +218,7 @@ let chunkSize' = maybe minimumChunkSize (max minimumChunkSize) mcs in if len `div` chunkSize' >= 10000 then len `div` 9999 else chunkSize' - mgr <- view envManager- let mConnCount = mMaxConns mgr+ let mConnCount = managerConnCount defaultManagerSettings nThreads = maybe mConnCount (max 1) mnt exec run = if maybe False (> mConnCount) mnt then do