uv-rays 1.0.8 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/uv-rays/scheduler.rb +2 -2
- data/lib/uv-rays/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: f02f736b7e612dfa6b177e2460b86658306fd13f
|
4
|
+
data.tar.gz: a8bb6c7e64eb3bfbbab5fca8ebcf0a5600c88003
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c266b47d4865c44a0604c9078745f0499cf2c32971ddba8718e0c8823401e7064b3d09b25100923cdd8a991564452fe43893c2829f3168d92fe7327b93329581
|
7
|
+
data.tar.gz: 396851ed1124566a68dd06d218e19cc822e73bafb77a1fff86c26b408bfb1a73e4d3a917213393d009122ce3b6849b67d19872b872fe745e48507490a883699a
|
data/lib/uv-rays/scheduler.rb
CHANGED
@@ -334,7 +334,7 @@ module UV
|
|
334
334
|
in_time = @next - @loop.now
|
335
335
|
|
336
336
|
# Ensure there are never negative start times
|
337
|
-
if in_time >
|
337
|
+
if in_time > 3
|
338
338
|
@timer.start(in_time)
|
339
339
|
else
|
340
340
|
# Effectively next tick
|
@@ -353,7 +353,7 @@ module UV
|
|
353
353
|
|
354
354
|
# execute schedules that are within 5ms of this event
|
355
355
|
# Basic timer coalescing..
|
356
|
-
now = @loop.now +
|
356
|
+
now = @loop.now + 3
|
357
357
|
while @scheduled.first && @scheduled.first.next_scheduled <= now
|
358
358
|
schedule = @scheduled.shift
|
359
359
|
@schedules.delete(schedule)
|
data/lib/uv-rays/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: uv-rays
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Stephen von Takach
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-04-
|
11
|
+
date: 2015-04-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: libuv
|