Skip to content

Commit

Permalink
Enable logging in ResponseTimeCpuInterceptor
Browse files Browse the repository at this point in the history
  • Loading branch information
cfaur09 committed Nov 13, 2024
1 parent bbc04f4 commit 7333dd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ async function configurePublicApp(publicApp: NestExpressApplication, apiConfigSe
// @ts-ignore
globalInterceptors.push(new LoggingInterceptor(metricsService));
//@ts-ignore
globalInterceptors.push(new ResponseTimeCpuInterceptor(metricsService, { shouldLog: false }));
globalInterceptors.push(new ResponseTimeCpuInterceptor(metricsService, { shouldLog: true }));

const getUseRequestCachingFlag = await settingsService.getUseRequestCachingFlag();
const cacheDuration = apiConfigService.getCacheDuration();
Expand Down

0 comments on commit 7333dd8

Please sign in to comment.