Fix worker redis
This commit is contained in:
parent
2d99710fc2
commit
183d58a540
2 changed files with 3 additions and 7 deletions
|
@ -3,12 +3,10 @@ import kue from 'kue';
|
|||
|
||||
import lookup from '../lib/lookup';
|
||||
import services from '../lib/services';
|
||||
import { find, create, findMatchesAsync } from '../lib/share';
|
||||
import { find, create } from '../lib/share';
|
||||
|
||||
const queue = kue.createQueue({
|
||||
redis: {
|
||||
host: 'redis',
|
||||
},
|
||||
redis: process.env.REDIS_URL,
|
||||
});
|
||||
|
||||
export default function* () {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue