Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.54 KB | None | 0 0
  1. // Proxy pipeline mode to the phpredis library
  2. if($name == 'pipeline' || $name == 'multi') {
  3. if($this->isMulti) {
  4. return $this;
  5. } else {
  6. $this->isMulti = TRUE;
  7. $this->redisMulti = call_user_func_array(array($this->redis, $name), $args);
  8. //CUSTOM CODE!!!
  9. //Credis bug fix: 2 times pipeline() calls below.
  10. return $this;
  11. //custom code ends
  12. }
  13. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement