diff --git a/lib/Resque.php b/lib/Resque.php index 168d849..c28a889 100644 --- a/lib/Resque.php +++ b/lib/Resque.php @@ -37,6 +37,8 @@ class Resque require_once dirname(__FILE__) . '/Resque/Redis.php'; self::$redis = new Resque_Redis($host, $port); } + + self::redis()->select($database); } /**