rudeshark.net/src/queue.ts
2018-03-29 01:54:41 +09:00

11 lines
191 B
TypeScript

import { createQueue } from 'kue';
import config from './conf';
export default createQueue({
redis: {
port: config.redis.port,
host: config.redis.host,
auth: config.redis.pass
}
});