active_replicas 0.1.3 → 0.1.4
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5b55ea49216bde403b6a882ed0994272026a358d
|
|
4
|
+
data.tar.gz: d4d7ab617275a0bec9aef1de5279c2067590207d
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 518d44e6a40b3e7600599df152ace5c39a86f7f5d53f70d34b00fd354d223add0de6c2f2dbfaa32a4eb0e0dfd42dc20fc0e920103256be79262926e12bffd8db
|
|
7
|
+
data.tar.gz: d89d4c936f027694cca6e028637d2fcbd8cafacb24bf61c26a93e650112252c1f80ca9e59f2b651fc8fe079cb3a108acdb2996ac4f8ddbf200f6db90f84e7f4a
|
|
@@ -77,12 +77,19 @@ module ActiveReplicas
|
|
|
77
77
|
@current_pool
|
|
78
78
|
end
|
|
79
79
|
|
|
80
|
+
# ConnectionPool attribute readers and accessors
|
|
81
|
+
# ==============================================
|
|
82
|
+
|
|
80
83
|
def automatic_reconnect=(new_value)
|
|
81
84
|
each_pool do |pool|
|
|
82
85
|
pool.automatic_reconnect = new_value
|
|
83
86
|
end
|
|
84
87
|
end
|
|
85
88
|
|
|
89
|
+
def spec
|
|
90
|
+
@primary_pool.spec
|
|
91
|
+
end
|
|
92
|
+
|
|
86
93
|
# Additional methods
|
|
87
94
|
# ==================
|
|
88
95
|
|