Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/QuantumNous/new-api
/ shouldUpdateRedis
Function
shouldUpdateRedis
model/utils.go:125–127 ·
view source on GitHub ↗
(fromDB bool, err error)
Source
from the content-addressed store, hash-verified
123
}
124
125
func
shouldUpdateRedis(fromDB bool, err error) bool {
126
return
common.RedisEnabled && fromDB && err == nil
127
}
Callers
10
GetUserCache
Function · 0.85
GetUserQuota
Function · 0.85
GetUserGroup
Function · 0.85
GetUserSetting
Function · 0.85
GetUsernameById
Function · 0.85
GetTokenById
Function · 0.85
GetTokenByKey
Function · 0.85
Update
Method · 0.85
SelectUpdate
Method · 0.85
Delete
Method · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected