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,4 +1,4 @@
|
|||
import * as kue from 'kue';
|
||||
import * as bq from 'bee-queue';
|
||||
import * as debug from 'debug';
|
||||
|
||||
const httpSignature = require('http-signature');
|
||||
|
@ -10,7 +10,7 @@ import { resolvePerson } from '../../../remote/activitypub/models/person';
|
|||
const log = debug('misskey:queue:inbox');
|
||||
|
||||
// ユーザーのinboxにアクティビティが届いた時の処理
|
||||
export default async (job: kue.Job, done: any): Promise<void> => {
|
||||
export default async (job: bq.Job, done: any): Promise<void> => {
|
||||
const signature = job.data.signature;
|
||||
const activity = job.data.activity;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue