Sam Roberts
Sam Roberts
as far as this PR goes, its been a while, but it seems the relevant code that is being deleted might be worth factoring out into a standalone API.
I'm not the boss! I don't use libnet anymore, if you break anything, your actual users will tell you ;-) I think that the send buffer size may be unusably...
flock doesn't support record level locking: https://linux.die.net/man/2/flock
Unixen have byte-range locking: - http://man7.org/linux/man-pages/man3/lockf.3.html - Advisory record locking in http://man7.org/linux/man-pages/man2/fcntl.2.html
More info can be found here: https://nodejs.org/api/events.html#events_eventemitter_defaultmaxlisteners
I think he might have meant literally `ws` https://www.npmjs.com/package/ws not "web sockets". There are a couple websocket implementations for node, they probably each need their own probes. IIRC ws is...
Note that node has both a legacy (and soon to disappear) "debug" protocol (JSON over TCP, `node --debug`), and a newer "inspect" protocol (JSON over websockets, `node --inspect`). Its the...
I'm in process of making (or finding) a node (js or c++) API for turning inspector on/off, finding its UUID, etc.
@sjanuary I don't have that power, but feel free to give it to me! ;-) Merged to master: https://github.com/nodejs/node/pull/13228 Also, I found a legacy `process._debugBegin(pid)` which can be called on...
`node_hc` is a different use-case. With a requireable entrypoint I could (soon) do `NODE_OPTIONS="-r /my/appmetrics/start" npm start` in a Dockerfile, node_hc requires rewriting the package.json for the app.