Skip to content

Commit ef7921f

Browse files
committed
rename
1 parent bdc05e8 commit ef7921f

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

packages/core/src/lib/cache-layer/cacheLayerRefresher.ts

+3-3
Original file line numberDiff line numberDiff 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
) {

0 commit comments

Comments
 (0)