mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-04 18:29:27 +02:00
Migrate to bull
This commit is contained in:
parent
2cdf27bae6
commit
94831479f5
21 changed files with 221 additions and 163 deletions
|
@ -1,4 +1,4 @@
|
|||
import * as kue from 'kue'
|
||||
import * as Bull from 'bull'
|
||||
import { logger } from '../../../helpers/logger'
|
||||
import { doRequest } from '../../../helpers/requests'
|
||||
import { ActorFollowModel } from '../../../models/activitypub/actor-follow'
|
||||
|
@ -11,7 +11,7 @@ export type ActivitypubHttpUnicastPayload = {
|
|||
body: any
|
||||
}
|
||||
|
||||
async function processActivityPubHttpUnicast (job: kue.Job) {
|
||||
async function processActivityPubHttpUnicast (job: Bull.Job) {
|
||||
logger.info('Processing ActivityPub unicast in job %d.', job.id)
|
||||
|
||||
const payload = job.data as ActivitypubHttpUnicastPayload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue