spread_beaver 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/spread_beaver/railtie.rb +2 -2
- data/lib/spread_beaver/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5109341b05b7feb31dd0e763b81d1dd0848d11cf
|
4
|
+
data.tar.gz: 9fa5d7d120fe4a66b46add3c9b2c350a3a5bcbc2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f31399c6c19dcf33285788b8ab729f49bfc4aba66d0a8979a6dd0f57baae86bff318752d16f409f26a65cde93308542eaf0ca162fd6312edfec5076023ec6279
|
7
|
+
data.tar.gz: 10af703faf0170a283b23d69135ce44453b9aa98156a2ea4707c9da99fcace30cccfbf162799d7ff22d8ffb199f1826203c572340df39db47af033654e60af4a
|
@@ -13,11 +13,11 @@ module SpreadBeaver
|
|
13
13
|
end
|
14
14
|
|
15
15
|
config.after_initialize do |app|
|
16
|
-
cnf = config.spread_beaver
|
16
|
+
cnf = app.config.spread_beaver
|
17
17
|
setup = -> {
|
18
18
|
SpreadBeaver::Runner.setup!(
|
19
19
|
app.assets[cnf.bundle].to_s,
|
20
|
-
{size: cnf
|
20
|
+
{size: cnf.pool_size, timeout: cnf.timeout}
|
21
21
|
)
|
22
22
|
}
|
23
23
|
setup.call
|