2018-03-28 18:20:40 +02:00
|
|
|
import { createQueue } from 'kue';
|
2018-04-02 06:15:53 +02:00
|
|
|
import config from './config';
|
2018-03-28 18:20:40 +02:00
|
|
|
|
|
|
|
export default createQueue({
|
|
|
|
redis: {
|
|
|
|
port: config.redis.port,
|
|
|
|
host: config.redis.host,
|
|
|
|
auth: config.redis.pass
|
|
|
|
}
|
|
|
|
});
|