This changes the way scheduled Fiber timestamps are being stored from being a UNIX timestamp in seconds to being the hecto-nanoseconds that Clock.currStdTime returns. Other timed features, such as periodically, work as they always have.
mainLoop is altered to adjust the socket read timeout to coincide with when the next scheduled Fiber is due. Its accuracy is highly dependent on current plugins' handling times, but cursory testing showed it to generally be within 50ms.
This changes the way scheduled Fiber timestamps are being stored from being a UNIX timestamp in seconds to being the hecto-nanoseconds that
Clock.currStdTime
returns. Other timed features, such asperiodically
, work as they always have.mainLoop
is altered to adjust the socket read timeout to coincide with when the next scheduled Fiber is due. Its accuracy is highly dependent on current plugins' handling times, but cursory testing showed it to generally be within 50ms.