Files
node/lib
Rich Trott fe54bc7b69 lib: use Timer.now() in readline module
Using Date.now() introduces problems when operating under load or
otherwise with constrained resources. Use Timer.now() to mitigate.

The problem was identified in `test-readline-interface` where under
heavy load, `\r` and `\n` were received so far apart that they were
treated as separate line endings rather than a single line ending.
Switching to `Timer.now()` prevented this from happening.

PR-URL: https://github.com/nodejs/node/pull/14681
Refs: https://github.com/nodejs/node/issues/14674
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
2017-08-09 22:59:25 -07:00
..
2017-08-04 12:55:44 -07:00
2017-07-07 13:18:19 -07:00
2017-08-01 19:57:24 +02:00
2017-07-17 22:09:46 -07:00
2017-08-04 12:55:44 -07:00
2017-08-02 00:35:21 +02:00
2017-07-30 19:24:23 +08:00
2016-10-04 12:17:32 -04:00
2017-03-10 11:23:48 -08:00
2017-07-07 13:18:19 -07:00
2017-06-19 18:18:56 +02:00
2017-07-17 22:09:46 -07:00
2017-06-28 20:00:42 +02:00
2017-03-10 11:23:48 -08:00