mirror of
https://github.com/Chocobozzz/PeerTube.git
synced 2025-10-05 10:49:28 +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 { processActivities } from '../../activitypub/process'
|
||||
import { ActivitypubHttpBroadcastPayload } from './activitypub-http-broadcast'
|
||||
|
@ -9,7 +9,7 @@ export type ActivitypubHttpFetcherPayload = {
|
|||
uris: string[]
|
||||
}
|
||||
|
||||
async function processActivityPubHttpFetcher (job: kue.Job) {
|
||||
async function processActivityPubHttpFetcher (job: Bull.Job) {
|
||||
logger.info('Processing ActivityPub fetcher in job %d.', job.id)
|
||||
|
||||
const payload = job.data as ActivitypubHttpBroadcastPayload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue