Given a host/port combination separated by a colon, set it as
the redis server that Resque will talk to.
public static setBackend ( mixed $server, integer $database ) | ||
$server | mixed | Host/port combination separated by a colon, DSN-formatted URI, or a callable that receives the configured database ID and returns a Resque_Redis instance, or a nested array of servers with host/port pairs. |
$database | integer |