Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,3 +28,6 @@ node_modules

# Users Environment Variables
.lock-wscript

# vim temp files
*.swp
5 changes: 4 additions & 1 deletion db/adapter.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ var RedisAdapter = function() {
hostname = redisConfig.get('URL');
}


// TODO(leah): per https://github.com/mranney/node_redis/issues/226 connection pooling shouldn't
// be necessary for our use case, so manage a single conn instance.
/**
Expand All @@ -39,7 +40,9 @@ var RedisAdapter = function() {
* The Kue job queue used to send tasks to the daemon.
* @type {Queue}
*/
this.jobQueue = kue.createQueue();
this.jobQueue = kue.createQueue({
redis: { port: port, host: hostname }
});
};


Expand Down