misskey/src/queue.ts

11 lines
193 B
TypeScript
Raw Normal View History

2018-03-28 18:20:40 +02:00
import { createQueue } from 'kue';
2018-04-02 06:15:53 +02:00
import config from './config';
2018-03-28 18:20:40 +02:00
export default createQueue({
redis: {
port: config.redis.port,
host: config.redis.host,
auth: config.redis.pass
}
});