We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9eb0954 commit 42c3451Copy full SHA for 42c3451
packages/core/src/shared/utilities/resourceCache.ts
@@ -79,6 +79,12 @@ export abstract class CachedResource<V> {
79
}
80
81
82
+ /**
83
+ * Possible paths here
84
+ * 1. cache doesn't exist.
85
+ * 2. cache exists but expired.
86
+ * 3. lock is held by other process and the waiting time is greater than the specified waiting time
87
+ */
88
logger.info(`cache miss, invoking service API to pull the latest response`)
89
try {
90
// Make the real network call / FS read to pull the resource
0 commit comments