mizzkey/src/queue.ts
2018-04-02 13:15:53 +09:00

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
}
});