fix: redis_options for job scheduler (#5894)
Co-authored-by: Riqwan Thamir <rmthamir@gmail.com>
This commit is contained in:
co-authored by
Riqwan Thamir
parent
8cb53da34e
commit
05520391d1
@@ -41,6 +41,7 @@ export default class JobSchedulerService {
|
||||
const connection = new Redis(config.projectConfig.redis_url, {
|
||||
maxRetriesPerRequest: null,
|
||||
enableReadyCheck: false,
|
||||
...(config.projectConfig.redis_options ?? {}),
|
||||
})
|
||||
|
||||
this.queue_ = new Queue(`scheduled-jobs:queue`, {
|
||||
|
||||
Reference in New Issue
Block a user