aws-sdk-core 2.9.4 → 2.9.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/aws-sdk-core.rb +18 -0
- data/lib/aws-sdk-core/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 664fd8561bd09c502ae35e88e1c5b4c99eb6fc8c
|
|
4
|
+
data.tar.gz: 88070f3045a664dfa89f2ee499163f58213b5213
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 454ec475bc1bc6a0f04b6563e5d9ddd2dc5201580f0d7f351303b2ed06a68e4e5beeb23b0ace5f984ba686799fa5236a380cc918a4f4ff503dbed87a0efd2921
|
|
7
|
+
data.tar.gz: 83b3bb30cf65bb957f599908260c4e5269816b4b1722b9902cbe36628947da1b35311f8ca9e9e36aacde03bf4724f7b01becb3996dedab400bdd02a4f00b043d
|
data/lib/aws-sdk-core.rb
CHANGED
|
@@ -405,6 +405,24 @@ module Aws
|
|
|
405
405
|
))
|
|
406
406
|
end
|
|
407
407
|
|
|
408
|
+
# Close any long-lived connections maintained by the SDK's internal
|
|
409
|
+
# connection pool.
|
|
410
|
+
#
|
|
411
|
+
# Applications that rely heavily on the `fork()` system call on POSIX systems
|
|
412
|
+
# should call this method in the child process directly after fork to ensure
|
|
413
|
+
# there are no race conditions between the parent process and its children
|
|
414
|
+
# for the pooled TCP connections.
|
|
415
|
+
#
|
|
416
|
+
# Child processes that make multi-threaded calls to the SDK should block on
|
|
417
|
+
# this call before beginning work.
|
|
418
|
+
#
|
|
419
|
+
# @return [nil]
|
|
420
|
+
def empty_connection_pools!
|
|
421
|
+
Seahorse::Client::NetHttp::ConnectionPool.pools.each do |pool|
|
|
422
|
+
pool.empty!
|
|
423
|
+
end
|
|
424
|
+
end
|
|
425
|
+
|
|
408
426
|
# Loads modules that are normally loaded with Ruby's `autoload`.
|
|
409
427
|
# This can avoid thread-safety issues that some Ruby versions have
|
|
410
428
|
# with `autoload`.
|
data/lib/aws-sdk-core/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: aws-sdk-core
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 2.9.
|
|
4
|
+
version: 2.9.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Amazon Web Services
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-04-
|
|
11
|
+
date: 2017-04-06 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jmespath
|