Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base: 2d901e6810
...
compare: d81ebce703
  • 2 commits
  • 1 file changed
  • 0 commit comments
  • 2 contributors
Showing with 5 additions and 4 deletions.
  1. +5 −4 lib/resque.js
View
9 lib/resque.js
@@ -1,6 +1,7 @@
-var resque = exports
-var EventEmitter = require ('events').EventEmitter
-var sys = require ('sys')
+var resque = exports;
+var EventEmitter = require ('events').EventEmitter;
+var sys = require ('sys');
+var redis = require ('redis');
var processAlive = function (pid, cb) {
require('child_process').exec (
@@ -12,7 +13,7 @@ var processAlive = function (pid, cb) {
}
var connectToRedis = function (options) {
- return require ('redis').createClient (options.port, options.host)
+ return redis.createClient (options.port, options.host);
}

No commit comments for this range

Something went wrong with that request. Please try again.