Sharkey/src/queue.ts

11 lines
191 B
TypeScript
Raw Normal View History

2018-03-28 09:20:40 -07:00
import { createQueue } from 'kue';
import config from './conf';
export default createQueue({
redis: {
port: config.redis.port,
host: config.redis.host,
auth: config.redis.pass
}
});