-
Notifications
You must be signed in to change notification settings - Fork 140
multi & exec hmget failed #56
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Hi Eran, I'm sorry you're having trouble with the library. The multi command was added after the library was released and I've never actually tested its functionality (or the lack thereof..) using this library. I'll hopefully get around to fixing this over the weekend, but I can't make any promises. |
No problem Joel. Thank you! |
Well, I did some research today and had a first stab at supporting multi array responses, but the infamous issues @danhunsaker linked to keep me from implementing a workable solution.. |
I also tried to fix it but didn't succeed to get multi array responses.. |
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'));
var_dump($this->redis->exec());
array(970) {
[0]=>
string(1) "$"
[1]=>
bool(false)
[2]=>
string(189) "GOOD RESPONSE"
[3]=>
string(1) "$"
}
Thanks!
The text was updated successfully, but these errors were encountered: