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
|
|
@ -6,7 +6,7 @@ export function registerCacheServices(
|
|||
container: AwilixContainer<ServiceDefinitions>,
|
||||
config: AppConfig
|
||||
): void {
|
||||
if (config.redis.enabled) {
|
||||
if (config.redis?.enabled) {
|
||||
container.register({
|
||||
cache: asFunction(({ logger }) => {
|
||||
const { createServiceCache } = require('@stock-bot/queue');
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue