Skip to content

redis 配置 #24

@wheakerd

Description

@wheakerd

1、我在使用的时候,重新配置了Hyperf\SocketIOServer\Room\AdapterInterface::class的对应关系,并在构造函数中修改了redis的配置信息,将dbIndex从0改动到了3.启动后数据仍然保存在db0中,如果通过watcher监听器重启,数据会同时储存在db0和db3中。
2、引入的tarit类Emitter在Hyperf\SocketIOServer\BaseNamespace中,虽然书写的时候避免方法名称冲突,可以避免问题。但是如果使用调度器模式,是不是会更方便。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions