MCPcopy Index your code
hub / github.com/chartbrew/chartbrew / setChartCache

Method setChartCache

server/modules/runtimeCache.js:432–440  ·  view source on GitHub ↗
(params = {})

Source from the content-addressed store, hash-verified

430 }
431
432 async setChartCache(params = {}) {
433 return this.setCacheEntry({
434 cacheKey: this.chartCacheKey(params),
435 payload: params.payload,
436 ttlMs: RUNTIME_CACHE_CONFIG.chartCacheTtlMs,
437 staleTtlMs: RUNTIME_CACHE_CONFIG.chartCacheStaleTtlMs,
438 registryKey: this.registryKey("chart", params.chartId),
439 });
440 }
441
442 async getSourceCache(params = {}) {
443 return this.getCacheEntry({

Callers 1

updateChartDataMethod · 0.80

Calls 3

setCacheEntryMethod · 0.95
chartCacheKeyMethod · 0.95
registryKeyMethod · 0.95

Tested by

no test coverage detected