hyperf / hyperf/socketio-server
怎么配置 redis 的connection呢
- Lingua principale
- PHP
- Stelle
- 26
- Fork
- 6
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Descrizione
我看 connection 都写死在 代码里的。我想换个 connection ,只能通过创建几个类用 dependencies.php 替换吗?
还有个依赖库已经废弃了
```
Package mix/redis-subscribe is abandoned, you should avoid using it. Use mix/redis-subscriber instead.
```
并且这个依赖库,不支持 prefix,导致本库根本就用不了 https://github.com/mix-php/mix/issues/100#event-6088492645
目前我是另外通过 class_map让它支持prefix的
Guida per i contributori
Nessuna guida per i contributori indicizzata per questo repository
Direzione di ricerca
Start by locating the hard-coded Redis connection and reviewing dependencies.php and the current class_map workaround. Check the abandoned mix/redis-subscribe dependency, the suggested mix/redis-subscriber replacement, and the linked upstream issue about prefix support; done should include a documented way to select a connection and resolve the prefix limitation.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- php, redis
- Ambito
- backend, databases
- Tipo di issue
- Funzionalità
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Stato di attività
- Ferma
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 30/100