mirror of
https://github.com/idanoo/php-resque
synced 2025-07-01 05:32:20 +00:00
updated readme example of how to setBackend to use a single param with a colon for server:port rather than two separate variables
This commit is contained in:
parent
bf29c5e018
commit
91c6fff601
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ Jobs are queued as follows:
|
||||||
require_once 'lib/Resque.php';
|
require_once 'lib/Resque.php';
|
||||||
|
|
||||||
// Required if redis is located elsewhere
|
// Required if redis is located elsewhere
|
||||||
Resque::setBackend('localhost', 6379);
|
Resque::setBackend('localhost:6379');
|
||||||
|
|
||||||
$args = array(
|
$args = array(
|
||||||
'name' => 'Chris'
|
'name' => 'Chris'
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue