From 259bf08bc09db81ad29e7a451faff4b0d2e1182c Mon Sep 17 00:00:00 2001 From: Chan Shing Fai Date: Fri, 13 May 2016 18:53:29 +0800 Subject: [PATCH] Use `connect` instead of `pconnect` --- lib/Resque/Redis.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Resque/Redis.php b/lib/Resque/Redis.php index 4d53402..c970d6c 100755 --- a/lib/Resque/Redis.php +++ b/lib/Resque/Redis.php @@ -19,7 +19,7 @@ public function __construct($host, $port, $timeout = 5, $password = null) function establishConnection() { - $this->pconnect($this->host, (int)$this->port, (int)$this->timeout, getmypid()); + $this->connect($this->host, (int)$this->port, (int)$this->timeout, getmypid()); if ($this->password !== null) { $this->auth($this->password); }