active_replicas 0.3.0 → 0.3.1
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 568a0386c779f2f367053cd393c1c65de920c961
|
4
|
+
data.tar.gz: e4b35b5285b54c8138d4a870c600c4d0a9f27d4f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cde5776cce49b5f8b3fc7ea05b88dda83834a323374d49cfb349b5fc5580da2521e2f08e9222283ea6feaa212c219a89f089289761d72acb89259380ebc469d3
|
7
|
+
data.tar.gz: bde2b2bfd056ea9de4a9816277e73432019804a4b90ad891b99544e02d9b301bd7dee9173cf7e7c87e6b2fbbd0ed9ec99107f071eaeda62c0d6da4be9396b613
|
@@ -33,6 +33,10 @@ module ActiveReplicas
|
|
33
33
|
proxying_connection_pool.release_connection
|
34
34
|
end
|
35
35
|
|
36
|
+
def clear_reloadable_connections!
|
37
|
+
proxying_connection_pool.clear_reloadable_connections!
|
38
|
+
end
|
39
|
+
|
36
40
|
# Cribbed from:
|
37
41
|
# https://github.com/rails/rails/blob/4-2-stable/activerecord/lib/active_record/connection_adapters/abstract/connection_pool.rb#L568
|
38
42
|
def retrieve_connection(klass)
|