Use bee-queue instead of Kue
This commit is contained in:
parent
f778696a76
commit
77b493c9b0
8 changed files with 25 additions and 53 deletions
|
|
@ -1,8 +1,8 @@
|
|||
import * as kue from 'kue';
|
||||
import * as bq from 'bee-queue';
|
||||
|
||||
import request from '../../../remote/activitypub/request';
|
||||
|
||||
export default async (job: kue.Job, done: any): Promise<void> => {
|
||||
export default async (job: bq.Job, done: any): Promise<void> => {
|
||||
try {
|
||||
await request(job.data.user, job.data.to, job.data.content);
|
||||
done();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue