misskey-awawa/src/queue.ts

11 lines
191 B
TypeScript
Raw Normal View History

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