File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2192,19 +2192,19 @@ export default class IntegrationService {
21922192 new Set ( [ ...( integration . segmentId ? [ integration . segmentId ] : [ ] ) , ...mappedSegments ] ) ,
21932193 )
21942194
2195- this . options . log . info (
2195+ this . options . log . debug (
21962196 `Evaluating cache for repos: ${ repos . map ( ( r ) => r . name ) . join ( ',' ) } and segments: ${ segments } ` ,
21972197 )
21982198 cachedStats = await IntegrationProgressRepository . getDbStatsForGithub ( {
21992199 repos,
22002200 segments,
22012201 } )
22022202
2203- this . options . log . info ( `Caching data: ${ JSON . stringify ( cachedStats ) } ` )
2203+ this . options . log . debug ( `Caching data: ${ JSON . stringify ( cachedStats ) } ` )
22042204 // cache for 1 minute
22052205 await cacheDb . set ( key , JSON . stringify ( cachedStats ) , 60 )
22062206 } else {
2207- this . options . log . info ( `Cache data found: ${ JSON . stringify ( cachedStats ) } ` )
2207+ this . options . log . debug ( `Cache data found: ${ JSON . stringify ( cachedStats ) } ` )
22082208 cachedStats = JSON . parse ( cachedStats )
22092209 }
22102210 return cachedStats as GitHubStats
You can’t perform that action at this time.
0 commit comments