cachext 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cachext/multi.rb +1 -1
- data/lib/cachext/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1ce176338ded7408c62491f1a819189c11a94997
|
4
|
+
data.tar.gz: e5c42b0e47d0f91bcf0a9f32158954330eab3b5f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 873c5006ae27fb4a09d084638f3ca77e63d678187afc7909a239142356b49d8310ea5723c45374365d70d022439ac4d3763e26cdf26277f1bd7ef44e1f860f40
|
7
|
+
data.tar.gz: c13514d3e96143c8884ecdb86a2e4dd883cd10ce0ea5b44a2d3f432ac27bfdb73d44953293e09682780523a160f40748c1fee3d2190cbe0c24a72379fba3f8c6
|
data/lib/cachext/multi.rb
CHANGED
@@ -95,10 +95,10 @@ module Cachext
|
|
95
95
|
start_time = Time.now
|
96
96
|
|
97
97
|
until lock_info = lock_manager.lock(lock_key, (heartbeat_expires * 1000).ceil)
|
98
|
-
sleep rand
|
99
98
|
if Time.now - start_time > max_lock_wait
|
100
99
|
raise Features::Lock::TimeoutWaitingForLock
|
101
100
|
end
|
101
|
+
sleep rand
|
102
102
|
end
|
103
103
|
|
104
104
|
lock_info
|
data/lib/cachext/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cachext
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Donald Plummer
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2018-04-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -217,7 +217,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
217
217
|
version: '0'
|
218
218
|
requirements: []
|
219
219
|
rubyforge_project:
|
220
|
-
rubygems_version: 2.
|
220
|
+
rubygems_version: 2.6.14
|
221
221
|
signing_key:
|
222
222
|
specification_version: 4
|
223
223
|
summary: Cache with lock and backup extensions
|