File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2195,14 +2195,11 @@ export default class IntegrationService {
21952195 this . options . log . debug (
21962196 `Evaluating cache for repos: ${ repos . map ( ( r ) => r . name ) . join ( ',' ) } and segments: ${ segments } ` ,
21972197 )
2198- // cachedStats = await IntegrationProgressRepository.getDbStatsForGithub({
2199- // repos,
2200- // segments,
2201- // })
2198+ cachedStats = await IntegrationProgressRepository . getDbStatsForGithub ( )
22022199
2203- // this.options.log.debug(`Caching data: ${JSON.stringify(cachedStats)}`)
2200+ this . options . log . debug ( `Caching data: ${ JSON . stringify ( cachedStats ) } ` )
22042201 // cache for 1 minute
2205- // await cacheDb.set(key, JSON.stringify(cachedStats), 60)
2202+ await cacheDb . set ( key , JSON . stringify ( cachedStats ) , 60 )
22062203 } else {
22072204 cachedStats = JSON . parse ( cachedStats )
22082205 }
You can’t perform that action at this time.
0 commit comments