Fix worker redis

This commit is contained in:
Jonathan Cremin 2017-10-23 19:26:49 +01:00
parent 2d99710fc2
commit 183d58a540
2 changed files with 3 additions and 7 deletions

View file

@ -9,9 +9,7 @@ import { find, create, findMatchesAsync } from './lib/share';
raven.config(process.env.SENTRY_DSN).install();
const queue = kue.createQueue({
redis: {
host: 'redis',
},
redis: process.env.REDIS_URL,
});
function search(share, done) {