ember-cli-deploy / ember-cli-deploy/ember-cli-deploy-redis
How to use with sentinel?
- 主要语言
- JavaScript
- 星标
- 17
- 派生
- 40
- PR 合并指标
- 30 天内没有已合并 PR
描述
I've been attempting to pass my own `redisClient`, so I could use sentinel-aware `ioredis`. It looks like this won't work, and the injection is only for testing, since `redisClient` needs decorations provided by this repo (`upload`, `activate`, etc) and it doesn't seem possible to use an alternate redis lib ([since it relies on a particular method signature](https://github.com/ember-cli-deploy/ember-cli-deploy-redis/blob/master/lib/redis.js#L26-L30)). Am I understanding this correctly? Anything I can do here?
贡献指南
这个仓库没有索引到贡献指南
调研方向
Start with lib/redis.js, especially the method signature around lines 26-30, and trace how the injected redisClient receives the repo's upload and activate decorations. Check whether ioredis Sentinel can satisfy those expectations; done means clearly establishing the supported approach or documenting the changes needed for Sentinel support.
由索引模型根据 Issue 内容生成。
评估
- 技术栈
- javascript, redis
- 领域
- database
- Issue 类型
- 功能
- 难度
- 5/5
- 预计耗时
- 一周以上
- 活跃度
- 停滞
- 描述清晰度
- 需要澄清
- 新手友好度
- 25/100