hyperf / hyperf/socketio-server

怎么配置 redis 的connection呢

オープン
#16 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
PHP
スター
26
フォーク
6
PR マージ指標
30日以内にマージされた PR はありません

説明

我看 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的

コントリビューションガイド

このリポジトリのコントリビューションガイドは索引されていません

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

評価

技術スタック
php, redis
領域
backend, databases
issue の種類
機能追加
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
説明が足りない
初心者へのやさしさ
30/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。