mirror of
https://github.com/idanoo/php-resque.git
synced 2024-11-22 08:15:14 +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
@ -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…
Reference in New Issue
Block a user