aboutsummaryrefslogtreecommitdiff
path: root/src/pipe_wrap.cc
diff options
context:
space:
mode:
authorTimothy J Fontaine <tjfontaine@gmail.com>2013-08-28 11:29:33 -0700
committerTimothy J Fontaine <tjfontaine@gmail.com>2013-08-28 11:29:33 -0700
commit93b062468b2078de1b34e064a05fbeb1b4bd680a (patch)
tree4f030a48570fa04038aa275b0e310d7232f50888 /src/pipe_wrap.cc
parent96358613f9cfce8ea602033334ec80f2712e3756 (diff)
downloadandroid-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