ring-sqa 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ring/sqa/cli.rb +1 -1
- data/lib/ring/sqa/core.rb +2 -0
- data/lib/ring/sqa/poller/sender.rb +3 -1
- data/ring-sqa.gemspec +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: a98f29d18f39d4ae7bb7057eb8615bd2ef0bcbb7
|
4
|
+
data.tar.gz: 4b634e183bd877a752b4c2f0874bb47699d0c57c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5021adbea0e71e261b8e613500c41ce9df562598dbeaf5c4b072964f34198698dd0330965a4c51cd57a4230d3afbdb329af4aba26f04c630a589125daf391d92
|
7
|
+
data.tar.gz: 299492e697928256b2e6024326a8b670a96ac4d1424ea4957d1cf3481bcc9ef15e3bcbc1290ddd8260491bcf6085a3549cf5092df3ae32ac522d0805431ee311
|
data/lib/ring/sqa/cli.rb
CHANGED
data/lib/ring/sqa/core.rb
CHANGED
@@ -14,7 +14,9 @@ class SQA
|
|
14
14
|
sleep INTER_NODE_GAP
|
15
15
|
end
|
16
16
|
duration = Time.now-loop_start
|
17
|
-
if duration <
|
17
|
+
if duration < 0
|
18
|
+
Log.warn "Send loop duration was negative - ntp sync?"
|
19
|
+
elsif duration < INTERVAL
|
18
20
|
sleep INTERVAL-duration
|
19
21
|
else
|
20
22
|
Log.warn "Send loop took longer than #{INTERVAL}s"
|
data/ring-sqa.gemspec
CHANGED