QueueMangr. async.
This commit is contained in:
@ -1,6 +1,5 @@
|
||||
import IORedis from 'ioredis';
|
||||
import { Job, Queue, Worker } from 'bullmq'
|
||||
import CharacterJoin from '../events/zone/characterJoin'
|
||||
import config from '../utilities/config'
|
||||
|
||||
class QueueManager {
|
||||
@ -8,7 +7,7 @@ class QueueManager {
|
||||
public queue!: Queue;
|
||||
public worker!: Worker;
|
||||
|
||||
public boot() {
|
||||
public async boot() {
|
||||
this.connection = new IORedis(config.REDIS_URL, {
|
||||
maxRetriesPerRequest: null
|
||||
});
|
||||
|
Reference in New Issue
Block a user