We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Receive keys without prefix when do brPop().
Keys returned with prefix that was set via $redis->setOption(Redis::OPT_PREFIX, 'zxc:')
$redis->setOption(Redis::OPT_PREFIX, 'zxc:'); $redis->rPush('key1', 'C'); var_dump($redis->brPop('key1', 10)); // var_dump($redis->brPop(['key1'], 10))
Result: array(2) { [0]=> string(8) "zxc:key1" [1]=> string(1) "C" }
Found similar issue: #158
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Expected behaviour
Receive keys without prefix when do brPop().
Actual behaviour
Keys returned with prefix that was set via $redis->setOption(Redis::OPT_PREFIX, 'zxc:')
I'm seeing this behaviour on
Steps to reproduce
$redis->setOption(Redis::OPT_PREFIX, 'zxc:');
$redis->rPush('key1', 'C');
var_dump($redis->brPop('key1', 10)); // var_dump($redis->brPop(['key1'], 10))
Result:
array(2) {
[0]=>
string(8) "zxc:key1"
[1]=>
string(1) "C"
}
Found similar issue: #158
The text was updated successfully, but these errors were encountered: