Files
node/doc/api
Jeremiah Senkpiel a7c66b6aae timers: truncate decimal values
Reverts some timers behavior back to as it was before
2930bd1317

That commit introduced an unintended change which allowed non-integer
timeouts to actually exist since the value is no longer converted to an
integer via a TimeWrap handle directly.

Even with the fix in
e9de435498
non-integer timeouts are still indeterministic, because libuv does not
support them.

This fixes the issue by emulating the old behavior:
truncate the `_idleTimeout` before using it.

See comments in
https://github.com/nodejs/node/pull/24214
for more background on this.

PR-URL: https://github.com/nodejs/node/pull/24819
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Anna Henningsen <anna@addaleax.net>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
2019-01-28 16:25:07 -08:00
..
2019-01-08 01:16:51 +02:00
2019-01-27 03:34:25 +01:00
2018-12-07 18:50:20 +01:00
2019-01-08 00:02:02 +01:00
2019-01-18 10:35:55 +05:30
2019-01-08 01:16:51 +02:00
2018-07-14 22:57:03 +03:00
2019-01-27 20:38:42 +01:00
2019-01-28 16:25:07 -08:00
2018-11-28 13:09:31 -08:00
2019-01-14 09:36:41 +01:00