ebisu_connection 2.4.0.rc1 → 2.4.0.rc2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ebisu_connection/connection_manager.rb +2 -2
- data/lib/ebisu_connection/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 966b358b84a8edb4e170c9c51f1c5987ab3cec95
|
4
|
+
data.tar.gz: '08aba0c7eaab8587d89fad54c008500e8a8bc2f5'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8fad03b035e87553c212ef7a2b79336ecaa2446e9591b6ac56668c6b382f4338ac7e571a0000af501ea0e0a7781cdfdce31e6bf932b463d701b1a1c8e18a78a
|
7
|
+
data.tar.gz: 3b5efc1dd95d8da14da2dbe29759e3c4cf96db03b791bb66d702c6c66cba7d6cc7cca241f94feeedeea26442ff35b036d067a2900f918b85b2192a299ab63dc5
|
@@ -24,13 +24,13 @@ module EbisuConnection
|
|
24
24
|
end
|
25
25
|
|
26
26
|
def put_aside!
|
27
|
-
@replicas.
|
27
|
+
@replicas.each do |pool|
|
28
28
|
pool.release_connection if pool.active_connection? && !pool.connection.transaction_open?
|
29
29
|
end
|
30
30
|
end
|
31
31
|
|
32
32
|
def clear_all_connections!
|
33
|
-
@replicas.
|
33
|
+
@replicas.each do |pool|
|
34
34
|
pool.disconnect!
|
35
35
|
end
|
36
36
|
end
|