File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
packages/core/src/lib/cache-layer Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -72,14 +72,14 @@ export class CacheLayerRefresher implements ICacheLayerRefresher {
7272 const refreshJob = new SimpleIntervalJob (
7373 { milliseconds, runImmediately } ,
7474 new AsyncTask ( workerId , async ( ) => {
75- await this . sendActivityLogAfterLoad ( schema , cache ) ;
75+ await this . loadCacheAndSendActivityLog ( schema , cache ) ;
7676 } ) ,
7777 { preventOverrun : true , id : workerId }
7878 ) ;
7979 // add the job to schedule cache refresh task
8080 this . scheduler . addIntervalJob ( refreshJob ) ;
8181 } else {
82- await this . sendActivityLogAfterLoad ( schema , cache ) ;
82+ await this . loadCacheAndSendActivityLog ( schema , cache ) ;
8383 }
8484 } )
8585 ) ;
@@ -94,7 +94,7 @@ export class CacheLayerRefresher implements ICacheLayerRefresher {
9494 this . scheduler . stop ( ) ;
9595 }
9696
97- private async sendActivityLogAfterLoad (
97+ private async loadCacheAndSendActivityLog (
9898 schema : APISchema ,
9999 cache : CacheLayerInfo
100100 ) {
You can’t perform that action at this time.
0 commit comments