MCPcopy Create free account
hub / github.com/F-Stack/f-stack / connKeepAlive

Function connKeepAlive

app/redis-6.2.6/src/connection.c:407–410  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

405}
406
407int connKeepAlive(connection *conn, int interval) {
408 if (conn->fd == -1) return C_ERR;
409 return anetKeepAlive(NULL, conn->fd, interval);
410}
411
412int connSendTimeout(connection *conn, long long ms) {
413 return anetSendTimeout(NULL, conn->fd, ms);

Callers 2

createClientFunction · 0.85
clusterAcceptHandlerFunction · 0.85

Calls 1

anetKeepAliveFunction · 0.85

Tested by

no test coverage detected