diff options
author | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-08-28 11:29:33 -0700 |
---|---|---|
committer | Timothy J Fontaine <tjfontaine@gmail.com> | 2013-08-28 11:29:33 -0700 |
commit | 93b062468b2078de1b34e064a05fbeb1b4bd680a (patch) | |
tree | 4f030a48570fa04038aa275b0e310d7232f50888 /src/pipe_wrap.cc | |
parent | 96358613f9cfce8ea602033334ec80f2712e3756 (diff) | |
download | android-node-v8-93b062468b2078de1b34e064a05fbeb1b4bd680a.tar.gz android-node-v8-93b062468b2078de1b34e064a05fbeb1b4bd680a.tar.bz2 android-node-v8-93b062468b2078de1b34e064a05fbeb1b4bd680a.zip |
timer_wrap: Timer.now always update loop time
In `Timer.now` always update the loop time by calling uv_update_time.
Previously we were trying to cache the loop time to prevent extra
syscalls. While a noble goal, it can cause timers to fire early in
certain circumstances. Especially seen in cpu bound work loads or work
loads with synchronous file operations.
Diffstat (limited to 'src/pipe_wrap.cc')
0 files changed, 0 insertions, 0 deletions