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); }