MCPcopy Index your code
hub / github.com/simstudioai/sim / clearLargeValueCacheForTests

Function clearLargeValueCacheForTests

apps/sim/lib/execution/payloads/cache.ts:31–34  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29let inMemoryBytes = 0
30
31export function clearLargeValueCacheForTests(): void {
32 inMemoryValues.clear()
33 inMemoryBytes = 0
34}
35
36function cleanupExpiredValues(now = Date.now()): void {
37 for (const [id, entry] of inMemoryValues.entries()) {

Callers 9

streaming.test.tsFile · 0.90
store.test.tsFile · 0.90
route.test.tsFile · 0.90
loop.test.tsFile · 0.90

Calls 1

clearMethod · 0.65

Tested by

no test coverage detected