mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 13:42:22 +00:00
Enable redis server in travis for testing
This commit is contained in:
parent
bc39882dd7
commit
c862009505
6 changed files with 1541 additions and 11 deletions
|
@ -124,7 +124,7 @@ class Resque_Redis
|
|||
|
||||
$timeout = isset($options['timeout']) ? intval($options['timeout']) : null;
|
||||
|
||||
$this->redisConnection = new \Redis();
|
||||
$this->redisConnection = new Redis();
|
||||
|
||||
if (!$this->redisConnection->connect($host, $port, $timeout)) {
|
||||
throw new RedisException("Connection Failed to Redis!");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue