Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/wei/pull
/ getRedisClient
Function
getRedisClient
src/configs/redis.ts:4–10 ·
view source on GitHub ↗
(name?: string)
Source
from the content-addressed store, hash-verified
2
import
{ Redis } from
"ioredis"
;
3
4
export
const
getRedisClient = (name?: string) => {
5
const
redisClient =
new
Redis(appConfig.redisConfig!, {
6
maxRetriesPerRequest: null,
7
name,
8
});
9
return
redisClient;
10
};
Callers
2
index.ts
File · 0.90
main
Function · 0.90
Calls
no outgoing calls
Tested by
no test coverage detected