swoft-cloud / swoft

🚀 PHP Microservice Full Coroutine Framework
https://swoft.org
Apache License 2.0
5.58k stars 788 forks source link

[redis]异步redis 问题 #210

Closed webphplove closed 6 years ago

webphplove commented 6 years ago
Q A
Bug report? yes/no
Feature request? yes/no
Swoft version x.y.z
Swoole version x.y.z (by php --ri swoole)
PHP version x.y.z (by php -v)
Runtime environment Win10/Mac/CentOS 7/Ubuntu/Docker etc.

Details

异步redis的sRem()和sCard()方法无效

    /**
     * @Inject()
     * @var Redis
     */
    private $redis;

    public function testFd(){
          $this->redis->sRem($key, $fd);
          $this->redis->sCard($key);
   }
stelin commented 6 years ago

redis组件更新至1.0.7,已经修复