pesto 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/pesto.rb +2 -4
- 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: 6ac9f2daaff1198c2a41c6dde98dc134c9df78b2
|
4
|
+
data.tar.gz: 92e4981299db527e5c1f59492cc949d5b8414d8b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a1b769859610b0c57e0d03b31d33e3409eea0d7f1cb06a414e1bbc2fbb91c3bbbbfc8f39d7d2612faff4132d2812d942a5fbfbf060a3919b809fa16563de2008
|
7
|
+
data.tar.gz: 6031277038f28c4efd9e3ab7cc6326ca347f1d61fa82d803df791e0bf9607c4162fe9c4eba38723e232ad7c91fc4c95717d11247ad8c505d8c96199bdab9744a
|
data/lib/pesto.rb
CHANGED
@@ -10,9 +10,7 @@ module Pesto
|
|
10
10
|
:lock_expire => false,
|
11
11
|
:timeout_lock_expire => 300,
|
12
12
|
:timeout_lock => 90,
|
13
|
-
:interval_check => 0.05
|
14
|
-
:concurrency_limit => 0,
|
15
|
-
:concurrency_count => false
|
13
|
+
:interval_check => 0.05
|
16
14
|
}.merge(opts)
|
17
15
|
|
18
16
|
end
|
@@ -25,7 +23,7 @@ module Pesto
|
|
25
23
|
opts = {}.merge(
|
26
24
|
@conf.select{ |k| [
|
27
25
|
:timeout_lock_expire, :timeout_lock,
|
28
|
-
:interval_check
|
26
|
+
:interval_check
|
29
27
|
].include?(k)
|
30
28
|
}
|
31
29
|
).merge(_opts || {})
|