added cli-covarage tool and fixed more tests
This commit is contained in:
parent
b63e58784c
commit
b845a8eade
57 changed files with 11917 additions and 295 deletions
|
|
@ -27,7 +27,7 @@ export function registerApplicationServices(
|
|||
}
|
||||
|
||||
// Proxy Manager
|
||||
if (config.proxy && config.redis.enabled) {
|
||||
if (config.proxy && config.redis?.enabled) {
|
||||
container.register({
|
||||
proxyManager: asFunction(({ logger }) => {
|
||||
// Create a separate cache instance for proxy with global prefix
|
||||
|
|
@ -58,7 +58,7 @@ export function registerApplicationServices(
|
|||
}
|
||||
|
||||
// Queue Manager
|
||||
if (config.queue?.enabled && config.redis.enabled) {
|
||||
if (config.queue?.enabled && config.redis?.enabled) {
|
||||
container.register({
|
||||
queueManager: asFunction(({ logger, handlerRegistry }) => {
|
||||
const { QueueManager } = require('@stock-bot/queue');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue