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