You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In coordinated universal time (UTC) a day normally consists of 86400 seconds. However, every few years there is an extra second called a "leap second". The leap second is always added as the last second of the day, and always on December 31 or June 30. There will be a leap second on June 30 2015.
We've been asked what effect this could have on a Node application. In may cases Node depends on libuv for time related functions so we'd like to ask if this has been considered and if its likely/possible that the insertion of the leap second will affect the correct operation of the calls made through the libuv API.
The text was updated successfully, but these errors were encountered:
Libuv doesn't use gettimeofday() if that is what you're asking, it uses a monotonic clock (e.g. CLOCK_MONOTONIC). Timed waits on condition variables use a monotonic clock or relative timeouts.
In coordinated universal time (UTC) a day normally consists of 86400 seconds. However, every few years there is an extra second called a "leap second". The leap second is always added as the last second of the day, and always on December 31 or June 30. There will be a leap second on June 30 2015.
We've been asked what effect this could have on a Node application. In may cases Node depends on libuv for time related functions so we'd like to ask if this has been considered and if its likely/possible that the insertion of the leap second will affect the correct operation of the calls made through the libuv API.
The text was updated successfully, but these errors were encountered: