yii2-redis
yii2-redis copied to clipboard
Yii 2 Redis extension.
RPUSH is saved keys to findall pool with duplicated values. Because Redis LIST is not unique. Finally find()->all() return a lot of duplicated objects. As solution it can use sorted...
### What steps will reproduce the problem? 当使用某些公司内部redis服务时,是通过bns来获取连接的ip,并不需要select database,这样会报错 ### What's expected? 所以希望当没有配置database时,默认为null want in Connection.php line70 public $database = null; line290 if ($this->database !== null){ $this->executeCommand('SELECT', [$this->database]); } but...
### ActiveRecord expire RedisActiveRecod does not have ability to be stored with some expire time. ### What's expected? Add method to RedisActiveRecod ttl() wich return time to live value in...
RedisJSON https://redis.io/docs/data-types/json/
Custom `socketClientFlags` with the `STREAM_CLIENT_PERSISTENT` flag set will not work with `useSsl => true`, due to attempting to re-enable encryption when it is already active. ~Could probably check for the...
2.0.18 added support for `scheme` `tls` in f96b872fa646308ab2f11721a7d35c713a234621 That adapts the connection string to `tls://` instead of `tcp://`. BUT we already had `useSSL`. Imho there's a bunch of problems with...
When running with PHP 8.3, the Redis cache component throws a TypeError with the message "Unsupported operand types: string * int" in the Cache.php file at line 251. Details File:...
I am encountering this issue intermittently on random requests. Based on my observations, it occurs when the connection remains idle for 5 minutes. Our DigitalOcean Redis service has a timeout...