mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Add new job for handling upload content
This commit is contained in:
parent
9f1a17853a
commit
4fce7e9287
1 changed files with 7 additions and 0 deletions
|
|
@ -4,6 +4,13 @@ import { redisDataSource } from './redis_data_source'
|
|||
const QUEUE_NAME = 'omnivore-backend-queue'
|
||||
const JOB_NAME = 'update-pdf-content'
|
||||
|
||||
interface savePageJob {
|
||||
userId: string
|
||||
data: unknown
|
||||
isRss: boolean
|
||||
isImport: boolean
|
||||
}
|
||||
|
||||
const queue = new Queue(QUEUE_NAME, {
|
||||
connection: redisDataSource.queueRedisClient,
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in a new issue