Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Proxy pipeline mode to the phpredis library
- if($name == 'pipeline' || $name == 'multi') {
- if($this->isMulti) {
- return $this;
- } else {
- $this->isMulti = TRUE;
- $this->redisMulti = call_user_func_array(array($this->redis, $name), $args);
- //CUSTOM CODE!!!
- //Credis bug fix: 2 times pipeline() calls below.
- return $this;
- //custom code ends
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement