mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
use worker redis client when connect to the queue in queue-processor
This commit is contained in:
parent
338733829f
commit
780cda6e4b
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