11 lines
193 B
TypeScript
11 lines
193 B
TypeScript
import { createQueue } from 'kue';
|
|
import config from './config';
|
|
|
|
export default createQueue({
|
|
redis: {
|
|
port: config.redis.port,
|
|
host: config.redis.host,
|
|
auth: config.redis.pass
|
|
}
|
|
});
|