Commit ce3586da authored by Jeremiah Senkpiel's avatar Jeremiah Senkpiel Committed by James M Snell
Browse files

timers: warn on overflowed timeout duration

Cherry-pick from ayo

Ayo commit log:
> Previously there wasn't any clear indicator when you hit the overflow
> other than possibly unexpected behavior, and I think emitting a warning
> may be appropriate.

> PR-URL: https://github.com/ayojs/ayo/pull/71


> Reviewed-By: default avatarScott Trinh <scott@scotttrinh.com>
> Reviewed-By: default avatarAlexey Orlenko <eaglexrlnk@gmail.com>
> Reviewed-By: default avatarStephen Belanger <admin@stephenbelanger.com>
> Reviewed-By: default avatarAnna Henningsen <anna@addaleax.net>
> Reviewed-By: default avatarBenjamin Gruenbaum <benjamingr@gmail.com>

PR-URL: https://github.com/nodejs/node/pull/15627


Reviewed-By: default avatarColin Ihrig <cjihrig@gmail.com>
Reviewed-By: default avatarLuigi Pinca <luigipinca@gmail.com>
Reviewed-By: default avatarRuben Bridgewater <ruben@bridgewater.de>
parent 4843c2f4
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment