(params = {})
| 447 | } |
| 448 | |
| 449 | async setSourceCache(params = {}) { |
| 450 | return this.setCacheEntry({ |
| 451 | cacheKey: this.sourceCacheKey(params), |
| 452 | payload: params.payload, |
| 453 | ttlMs: RUNTIME_CACHE_CONFIG.sourceCacheTtlMs, |
| 454 | staleTtlMs: RUNTIME_CACHE_CONFIG.sourceCacheStaleTtlMs, |
| 455 | registryKey: this.registryKey("dataset", params.datasetId), |
| 456 | }); |
| 457 | } |
| 458 | |
| 459 | async getCacheEntry({ cacheKey, cacheType }) { |
| 460 | try { |
no test coverage detected