uv-rays 1.0.7 → 1.0.8

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dbda330c1c29c6e1d6d83dd262df51d94322ec4f
4
- data.tar.gz: db15f804d9f4514d39af9926021627169a59b185
3
+ metadata.gz: fbadacdf7975c487ba2f09d7aa6dad1a158ca2b7
4
+ data.tar.gz: 6919e8d21bbca00e4db3f392dc3909020b1bb922
5
5
  SHA512:
6
- metadata.gz: bf595aaa5a464e8ee0c111f964c528e190b76581a69b8509909028b0a1e06f01962f19b6cc1dc5c81e7974a4c1260e62027e640a17a57e69a071a2e25450fe5c
7
- data.tar.gz: 3947075d8337536b045a03d9aad35cfd6551876ce8153a55c11d5f6e648605bc5394c49fac316d18f187bfceb91ef3a6c1280f34c80704ce69cf3b0d24f585f1
6
+ metadata.gz: 7ad9c74a89a13bf242d67d57c750640c013265643f9ea747fee1610f4f10f014624186d893802472f72579efdac1f4644d35f9176fce6f85a0d7eebf1b50ab8e
7
+ data.tar.gz: 073a4dfe912276748a5a63bd7669775a84311cfcb7f749432d27889469467badc077a5760acaad7e415329012e9e8bc3c5799fa29fc211a754c11926211f46aa
@@ -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 > 30
337
+ if in_time > 5
338
338
  @timer.start(in_time)
339
339
  else
340
340
  # Effectively next tick
@@ -351,9 +351,9 @@ module UV
351
351
  @schedules.delete(schedule)
352
352
  schedule.trigger
353
353
 
354
- # execute schedules that are within 30ms of this event
354
+ # execute schedules that are within 5ms of this event
355
355
  # Basic timer coalescing..
356
- now = @loop.now + 30
356
+ now = @loop.now + 5
357
357
  while @scheduled.first && @scheduled.first.next_scheduled <= now
358
358
  schedule = @scheduled.shift
359
359
  @schedules.delete(schedule)
@@ -1,3 +1,3 @@
1
1
  module UV
2
- VERSION = '1.0.7'
2
+ VERSION = '1.0.8'
3
3
  end
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.7
4
+ version: 1.0.8
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-03-08 00:00:00.000000000 Z
11
+ date: 2015-04-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: libuv