2 ms·
Update: Via bnoordhuis (Ben Noordhuis - node.js dev): I see you posted this over at https://www.reddit.com/r/node/comments/8s2y7b/til_consolelog_entries_will_
by theogravity 8y ago
Update:
Via bnoordhuis (Ben Noordhuis - node.js dev):
I see you posted this over at https://www.reddit.com/r/node/comments/8s2y7b/til_consolelog_entries_will_not_get_garbage/ https://www.reddit.com/r/node/comments/8s2y7b/til_consolelog... but your summary there is wrong. You should update it because it's going to mislead others.
The state of things:
A connected inspector client will cause console.log()
to buffer a bounded number of messages (currently 1,000.)
Libuv can buffer messages when you print faster than the sink (tty, pipe, file, etc.) can consume them. That's something you can fix by pacing your writes.