5 ms·
Are you sure the objects remain leaked when a connection disconnect comes through? I don't have hard data on that. Depending on the node web framework (expres
by aeronautic 9y ago
Are you sure the objects remain leaked when a connection disconnect comes through? I don't have hard data on that.
Depending on the node web framework (express, ...) they may handle that differently and may have timeouts to cleanup.
I'd love to get a firm answer on this one.
- brlewis 9y agoI'd love a firm answer too, but I'm too lazy to write up code that puts request objects in a WeakSet and checks for when the set gets smaller. I hope someone else does it. :-)
- partycoder 9y agoYes, I am certain of that. I've seen it in production environments and verified it by looking at heap dumps.