misskey-awawa/src/queue.ts

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