More typescript improvements
This commit is contained in:
@ -12,7 +12,7 @@ import Storage from '#application/storage'
|
||||
import SocketManager from '#managers/socketManager'
|
||||
|
||||
class QueueManager {
|
||||
private connection!: IORedis
|
||||
private connection!: IORedis.Redis
|
||||
private queue!: Queue
|
||||
private worker!: Worker
|
||||
private io!: SocketServer
|
||||
@ -21,7 +21,7 @@ class QueueManager {
|
||||
public async boot() {
|
||||
this.io = SocketManager.getIO()
|
||||
|
||||
this.connection = new IORedis(config.REDIS_URL, {
|
||||
this.connection = new IORedis.Redis(config.REDIS_URL, {
|
||||
maxRetriesPerRequest: null
|
||||
})
|
||||
|
||||
|
Reference in New Issue
Block a user