mirror of
https://github.com/cyberarm/i-mic-fps.git
synced 2025-12-16 08:02:36 +00:00
Fixed Networking.milliseconds not returning milliseconds, fixed ReadBuffer not deleting processed buffers, misc.
This commit is contained in:
@@ -15,7 +15,7 @@ class IMICFPS
|
||||
HARD_PEER_LIMIT = 254
|
||||
|
||||
def self.milliseconds
|
||||
Process.clock_gettime(Process::CLOCK_MONOTONIC)
|
||||
Process.clock_gettime(Process::CLOCK_MONOTONIC, :millisecond)
|
||||
end
|
||||
|
||||
# https://github.com/jpignata/blog/blob/master/articles/multicast-in-ruby.md
|
||||
|
||||
Reference in New Issue
Block a user