AngryPanda
V2EX  ›  问与答

PHP Redis 异步客户端 nrk/predis-async 应该怎么样使用才对?

  •  
  •   AngryPanda · Dec 7, 2018 · 1181 views
    This topic created in 2756 days ago, the information mentioned may be changed or developed.
    我把官网的例子运行起来,

    屏幕回显:Connected to Redis, now listening for incoming messages...

    然而当我向 redis 的 nrk:channel PUBLISH 一条 message 时候,redis 回显 0 (即没有客户端订阅此 channel )

    而官网例子的屏幕,也没有任何动静:感觉进程还是被阻塞住了。

    是不是我的姿势不对呢?请大神指点。

    运行环境:CentOS 7.5 + PHP 7.1.9
    1 replies    2018-12-07 22:17:07 +08:00
    AngryPanda
        1
    AngryPanda  
    OP
       Dec 7, 2018 via Android
    悲剧,一个回帖的老哥都没有
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   901 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 20:27 · PVG 04:27 · LAX 13:27 · JFK 16:27
    ♥ Do have faith in what you're doing.