wire-framework 0.1.4.3 → 0.1.4.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/app/cache.rb +1 -2
- data/lib/wire.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: f809b72a56507593ed6366da375c9430c04bbc17
|
4
|
+
data.tar.gz: 31ecd6edaff9293c0a5503495c2d9e7dbc89416a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9670b702dea1b986d03320d01eb682d84af8a33b01946f316fbdbfb627aa2d4617ac1e129a57a128a825035b02f38c8a923fc19a193c333b19459583029f622e
|
7
|
+
data.tar.gz: f7bf8109c58737fa5f2bc65be2b8571dc91dd364acf4b0191249dba36b57340e9e72081c64ceda604e96be47a3f600dddf438403608068cebbef3d32b7b5b3b1
|
data/lib/app/cache.rb
CHANGED
@@ -55,7 +55,7 @@ module Cache
|
|
55
55
|
|
56
56
|
# Create Cache if not set up
|
57
57
|
unless $cache[context.app[:remote_uri]]
|
58
|
-
$cache[context.app[:remote_uri]] = LMDB.new("/tmp/cache/#{context.app[:remote_uri]}")
|
58
|
+
$cache[context.app[:remote_uri]] = LMDB.new("/tmp/cache/#{context.app[:remote_uri]}", mapsize: 2^30)
|
59
59
|
end
|
60
60
|
|
61
61
|
begin
|
@@ -66,7 +66,6 @@ module Cache
|
|
66
66
|
result
|
67
67
|
when :read,:readAll
|
68
68
|
cached = get_cached(context)
|
69
|
-
ap cached
|
70
69
|
unless cached
|
71
70
|
cached = update_cache(context)
|
72
71
|
end
|
data/lib/wire.rb
CHANGED