mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Merge pull request #3396 from omnivore-app/fix/queue-redis-connection
use worker redis client when connect to the queue in queue-processor
This commit is contained in:
commit
fb1d8331a4
1 changed files with 3 additions and 1 deletions
|
|
@ -61,7 +61,9 @@ const main = async () => {
|
|||
throw '[queue-processor] error redis is not initialized'
|
||||
}
|
||||
|
||||
const queue = new Queue(QUEUE_NAME)
|
||||
const queue = new Queue(QUEUE_NAME, {
|
||||
connection: workerRedisClient,
|
||||
})
|
||||
|
||||
const worker = new Worker(
|
||||
QUEUE_NAME,
|
||||
|
|
|
|||
Loading…
Reference in a new issue