activerecord_partitioning 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/activerecord_partitioning/connection_pools.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
MTYxYmFiZWM1ZjZkOWIzYTU5NTM3MTA1ZDM5Mzk3ZWEyMGFjYWQ5ZQ==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
NDI5MWY5OGQ0ZTY5ODBlZmJhZGYyMjEzYTM1ZDE4MmMzMjRlMzc5Mg==
|
7
7
|
!binary "U0hBNTEy":
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZWFkMWJhMWFiZTU2ZDNhNjljMTI2ZTI4YjViMTZlYzQ1ZDhhMDAxNjU3MjQ4
|
10
|
+
NWE1YmQwZTc5YWMwNmY0Yjg1NmMzZjk1NDFmOTZhMzgwYzZjNmEwZDQzNzAy
|
11
|
+
YjkxZmFjZDk2M2JkNDA0OTBiODNkOTdlMTk3NDk3NjUyY2EyYTU=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDExODYzOWMwN2JkNzBhNDUzZmM2NWRlZTkxM2ZmM2U2YzU0YWY0MjgxMGM0
|
14
|
+
MmJkYjRiYTRkODJmMDkwMTM0NzlhMGVkNzFmMDRiYWMyY2VkZGFlYmE2YjZm
|
15
|
+
OGNkOGQyMjUyMTFiMWFjOWI5YmUzZjVlOGU3NzUyZjMzYTY2OWY=
|
@@ -24,7 +24,7 @@ module ActiveRecordPartitioning
|
|
24
24
|
if size == 1
|
25
25
|
values.first
|
26
26
|
else
|
27
|
-
raise NoActiveConnectionPoolError.new("#{size} connection pools in cache")
|
27
|
+
raise NoActiveConnectionPoolError.new("#{size} connection pools in cache, keys: #{keys.inspect}, pool configs: #{values.map(&:spec).map(&:config).inspect}")
|
28
28
|
end
|
29
29
|
else
|
30
30
|
@store[connection_pool_key(config)]
|