codeigniter-redis icon indicating copy to clipboard operation
codeigniter-redis copied to clipboard

A CodeIgniter library to interact with Redis

Results 12 codeigniter-redis issues
Sort by recently updated
recently updated
newest added

Hello, How can i set particular cache for particular time. ? I have tried using this : $this->redis->set('foo2', 'bar',500); but its not working. please some one look in to this....

Redis protocol sends a "CRLF" when it returns a string with zero length ($0), but when it returns a string "-1" ($-1) length it does not have a "CRLF". Solution...

以下为错误示例: php代码: var_dump($this->redis->command('scan 0')); 输出结果: array(2) { [0] => string(3) "768" [1] => string(11) "$9 file_29" }

修复_multi_bulk_reply方法在获取多个空值的情况下超时问题。 如:hmget('aaaa','a','b'),当aaaa不存在时候,会导致超时

I'm no longer an active CodeIgniter user and thus find it harder to dedicate time to maintaining this library. There are some serious bugs which need to be taken care...

Hi again. When using multi & exec with hmget function, every third request receive a correct response. Checked without multi and it works... Any idea? $this->redis->multi(); $this->redis->hmget('member.123',array('profile')); $this->redis->hmget('member.234',array('profile')); $this->redis->hmget('member.345',array('profile')); $this->redis->hmget('member.456',array('profile'));...

I think this is the fix to the issue I repoted. Issue #47 It was still possible for fread to not fully return all the requested data in one read...

It appears that _multi_bulk_reply runs _bulk_reply repeatedly but _bulk_reply is emptying the socket of all replies.

when i use like $this->redis->mget('a', 'b', 'c'); but have no keys a, b, c then ,it wil always waiting.

Hi, I am trying to sort a list using the following: `$users = $this->redis->sort('users', array('by' => '*->time_created'), array('limit' => '0 2'));` But I always end up with FALSE, whereas `$users...