
Security News
Frontier AI Is Now Critical Infrastructure
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.
light-api-redis
Advanced tools
1.增加redis的cluster连接
//集群模式配置
"redis":{
"cluster":[{"port": 6379,"host": "127.0.0.1"},{"port": 6380,"host": "127.0.0.1"},{"port": 6381,"host": "127.0.0.1"}],//必填
"clusterOption":{"scaleReads": "slave"},//可选
"password":"",
"cache":true,
"mq":false,
"channels":["channel1","channel2"]
}
1.增加redis单机模式连接
//单机模式配置
"redis":{
"host":"lcoalhsost:6379",
"password":"",
"cache":true,
"mq":false,
"channels":["channel1","channel2"]
}
//哨岗(sentinel)模式配置
//哨岗配置必须配置sentinels与主存的name
"redis":{
"sentinels":["lcoalhsost:26379"],
"name": "mymaster",
"password":"",
"cache":true,
"mq":false,
"channels":["channel1","channel2"]
}
1.增加redis的通用方法,可执行redis的所有api
cache.exeFun(command,...args)
.then(function(data){
// to do
}).cathch(function(err){
});
FAQs
this plugin of the light-api server for reids service
We found that light-api-redis demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
The Fable shutdown shows how quickly model access can become a business continuity risk for AI-dependent engineering teams.

Security News
AI agents are pulling packages into environments no scanner is watching, creating exposure before security teams can see it.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.