handler to auto register and removed service registry, cleaned up queues and cache naming
This commit is contained in:
parent
0d1be9e3cb
commit
34c6c36695
19 changed files with 474 additions and 198 deletions
|
|
@ -8,6 +8,7 @@ import type {
|
|||
QueueOptions,
|
||||
QueueStats,
|
||||
RateLimitRule,
|
||||
RedisConfig,
|
||||
} from './types';
|
||||
import { getRedisConnection } from './utils';
|
||||
|
||||
|
|
@ -173,6 +174,14 @@ export class QueueManager {
|
|||
this.logger.trace('Batch cache initialized synchronously for queue', { queueName });
|
||||
}
|
||||
|
||||
/**
|
||||
* Get the queues map (for subclasses)
|
||||
*/
|
||||
protected getQueues(): Map<string, Queue> {
|
||||
return this.queues;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Get statistics for all queues
|
||||
*/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue