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 +4 -4
- data/lib/slave_pools/engine.rb +5 -3
- data/lib/slave_pools/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1af19658e56521d10ebddd67a970dd7432b92e0e
|
4
|
+
data.tar.gz: f6c72622c728ad4857350beeaf39ce66c6e69fb4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 991f5fccf93d7534694dab0f70ce6f13c4bc884f63031941940c110f46448f1d520908d0f4bbb5a9df65d340061403d77f2a00e8b2c82d29acfe01e935580ce2
|
7
|
+
data.tar.gz: bc84b2d325527d50589cf92eddfc31ee4e5009cfefffe4a8efa75b607e7a590bbb511808bdac7fcb9ad4c6e8163e7cb4bdefef97a14e1aa61d9d799eac5a5300
|
data/lib/slave_pools/engine.rb
CHANGED
@@ -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
|
-
|
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
|
data/lib/slave_pools/version.rb
CHANGED
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.
|
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-
|
12
|
+
date: 2014-05-30 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: activerecord
|