Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/redis/node-redis
/ unref
Method
unref
packages/client/lib/client/socket.ts:451–454 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
449
}
450
451
unref() {
452
this.#isSocketUnrefed = true;
453
this.#socket?.unref();
454
}
455
456
defaultReconnectStrategy(retries: number, cause: unknown) {
457
// By default, do not reconnect on socket timeout.
Callers
1
#createSocket
Method · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected