slave_pools 1.1.0 → 1.1.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: c0fd6bf772d8b4651a9c582e9e04c079d7fdc788
4
- data.tar.gz: 61e8af6660ecb8de50e5160dfba7a90ee3162935
3
+ metadata.gz: 1af19658e56521d10ebddd67a970dd7432b92e0e
4
+ data.tar.gz: f6c72622c728ad4857350beeaf39ce66c6e69fb4
5
5
  SHA512:
6
- metadata.gz: b1063bfd67d77804819728d33e1c13d11daa65c295e1647ee7a2af4acdf115810ec777545964c085feb4b6c86cae78312699c2ff7a11621d37f766eac3407389
7
- data.tar.gz: bf754bf16417db1effd756db76bd536a745eb82e6275bb842926888a5f8b2f2e945e55d7db37d12f94a5f1576fe849d0856d09fac1a8836ed59901bfade12626
6
+ metadata.gz: 991f5fccf93d7534694dab0f70ce6f13c4bc884f63031941940c110f46448f1d520908d0f4bbb5a9df65d340061403d77f2a00e8b2c82d29acfe01e935580ce2
7
+ data.tar.gz: bc84b2d325527d50589cf92eddfc31ee4e5009cfefffe4a8efa75b607e7a590bbb511808bdac7fcb9ad4c6e8163e7cb4bdefef97a14e1aa61d9d799eac5a5300
@@ -21,9 +21,11 @@ module SlavePools
21
21
  else
22
22
  warn "Unsupported ActiveRecord version #{ActiveRecord.version}. Please whitelist the safe methods."
23
23
  end
24
- SlavePools.config.no_replay_on_master = {
25
- 'Mysql2::Error' => ['Timeout waiting for a response from the last query']
26
- }
24
+ if SlavePools.config.no_replay_on_master.blank?
25
+ SlavePools.config.no_replay_on_master = {
26
+ 'Mysql2::Error' => ['Timeout waiting for a response from the last query']
27
+ }
28
+ end
27
29
  end
28
30
 
29
31
  config.after_initialize do
@@ -1,3 +1,3 @@
1
1
  module SlavePools
2
- VERSION = "1.1.0"
2
+ VERSION = "1.1.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: slave_pools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dan Drabik
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2014-05-27 00:00:00.000000000 Z
12
+ date: 2014-05-30 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activerecord