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:
Josh Hawthorne 2011-04-14 19:43:04 -05:00
parent bf29c5e018
commit 91c6fff601

View File

@ -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'