MCPcopy
hub / github.com/di-sukharev/opencommit / getSocketTimeout

Function getSocketTimeout

out/cli.cjs:9614–9616  ·  view source on GitHub ↗
(socket)

Source from the content-addressed store, hash-verified

9612 }
9613 };
9614 function getSocketTimeout(socket) {
9615 return socket.timeout || socket._idleTimeout;
9616 }
9617 function installListeners(agent, socket, options) {
9618 debug5("%s create, timeout %sms", socket[SOCKET_NAME], getSocketTimeout(socket));
9619 function onFree() {

Callers 4

reuseSocketMethod · 0.85
[INIT_SOCKET]Method · 0.85
installListenersFunction · 0.85
onTimeoutFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…