Command/StartScheduledWorkerCommand.php 1 location
|
@@ 68-70 (lines=3) @@
|
| 65 |
|
$redisPort = $this->getContainer()->getParameter('resque.redis.port'); |
| 66 |
|
$redisDatabase = $this->getContainer()->getParameter('resque.redis.database'); |
| 67 |
|
|
| 68 |
|
if ($redisHost != NULL && $redisPort != NULL) { |
| 69 |
|
$env['REDIS_BACKEND'] = $redisHost . ':' . $redisPort; |
| 70 |
|
} |
| 71 |
|
|
| 72 |
|
if (isset($redisDatabase)) { |
| 73 |
|
$env['REDIS_BACKEND_DB'] = $redisDatabase; |
Command/StartWorkerCommand.php 1 location
|
@@ 82-84 (lines=3) @@
|
| 79 |
|
$redisPort = $this->getContainer()->getParameter('resque.redis.port'); |
| 80 |
|
$redisDatabase = $this->getContainer()->getParameter('resque.redis.database'); |
| 81 |
|
|
| 82 |
|
if ($redisHost != NULL && $redisPort != NULL) { |
| 83 |
|
$env['REDIS_BACKEND'] = $redisHost . ':' . $redisPort; |
| 84 |
|
} |
| 85 |
|
|
| 86 |
|
if (isset($redisDatabase)) { |
| 87 |
|
$env['REDIS_BACKEND_DB'] = $redisDatabase; |