rudeshark.net/src/queue.ts

11 lines
191 B
TypeScript
Raw Normal View History

2018-03-28 18:20:40 +02: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
}
});