Fix memory usage command in CacheService and add support directory to package.json
- Updated the memory command in CacheService from "usage" to "USAGE" for consistency with Redis commands. - Added support directory paths to package.json to enhance module resolution for the support features.
This commit is contained in:
parent
8b78d890e4
commit
4d45eca503
2
apps/bff/src/infra/cache/cache.service.ts
vendored
2
apps/bff/src/infra/cache/cache.service.ts
vendored
@ -82,7 +82,7 @@ export class CacheService {
|
||||
await this.scanPattern(pattern, async keys => {
|
||||
const pipeline = this.redis.pipeline();
|
||||
keys.forEach(key => {
|
||||
pipeline.memory("usage", key);
|
||||
pipeline.memory("USAGE", key);
|
||||
});
|
||||
const results = await pipeline.exec();
|
||||
if (!results) {
|
||||
|
||||
@ -30,6 +30,8 @@
|
||||
"./sim/providers/freebit": "./dist/sim/providers/freebit/index.js",
|
||||
"./subscriptions": "./dist/subscriptions/index.js",
|
||||
"./subscriptions/*": "./dist/subscriptions/*.js",
|
||||
"./support": "./dist/support/index.js",
|
||||
"./support/*": "./dist/support/*.js",
|
||||
"./toolkit": "./dist/toolkit/index.js",
|
||||
"./toolkit/*": "./dist/toolkit/*.js"
|
||||
},
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user