File tree 1 file changed +3
-3
lines changed
packages/core/src/lib/cache-layer
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 {
72
72
const refreshJob = new SimpleIntervalJob (
73
73
{ milliseconds, runImmediately } ,
74
74
new AsyncTask ( workerId , async ( ) => {
75
- await this . sendActivityLogAfterLoad ( schema , cache ) ;
75
+ await this . loadCacheAndSendActivityLog ( schema , cache ) ;
76
76
} ) ,
77
77
{ preventOverrun : true , id : workerId }
78
78
) ;
79
79
// add the job to schedule cache refresh task
80
80
this . scheduler . addIntervalJob ( refreshJob ) ;
81
81
} else {
82
- await this . sendActivityLogAfterLoad ( schema , cache ) ;
82
+ await this . loadCacheAndSendActivityLog ( schema , cache ) ;
83
83
}
84
84
} )
85
85
) ;
@@ -94,7 +94,7 @@ export class CacheLayerRefresher implements ICacheLayerRefresher {
94
94
this . scheduler . stop ( ) ;
95
95
}
96
96
97
- private async sendActivityLogAfterLoad (
97
+ private async loadCacheAndSendActivityLog (
98
98
schema : APISchema ,
99
99
cache : CacheLayerInfo
100
100
) {
You can’t perform that action at this time.
0 commit comments