grenache-ruby-base 0.2.12 → 0.2.13
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/grenache/base.rb +2 -1
- data/lib/grenache/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: 4beea15739f34ad71372e26e64bd31a88720e6a8
|
4
|
+
data.tar.gz: fc3eafd316a4f6c5cdbd519e4fa7a17114ec9726
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 019a087c9d159fc36308b73b40defbdfaaa87f3b726695f459f5b8d7bed68c2a32a6a89013db404399f09139f69242203acdbdf337ba256ea9d0280aad35c47a
|
7
|
+
data.tar.gz: 3480656df43437225d38f51f57ecdea5eae39f77125392d52b0ee31948abd59279215b6e7230468ed0c6945f29aa3a63c28bc1785b60798dd6b643af20416a08
|
data/lib/grenache/base.rb
CHANGED
@@ -9,6 +9,7 @@ module Grenache
|
|
9
9
|
conf.timeout = 5
|
10
10
|
conf.auto_announce_interval = 5
|
11
11
|
conf.service_host = "0.0.0.0"
|
12
|
+
conf.cache_expire = 5
|
12
13
|
end
|
13
14
|
|
14
15
|
# Initialize can accept custom configuration parameters
|
@@ -47,7 +48,7 @@ module Grenache
|
|
47
48
|
private
|
48
49
|
|
49
50
|
def cache
|
50
|
-
@cache ||= Cache.new
|
51
|
+
@cache ||= Cache.new(config.cache_expire)
|
51
52
|
end
|
52
53
|
|
53
54
|
def periodically(seconds)
|
data/lib/grenache/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: grenache-ruby-base
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.13
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Bitfinex
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-11-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|