MCPcopy Create free account
hub / github.com/Datakitpage/Datakit / destroy

Method destroy

backend/api/src/postgres-proxy/utils/cache.util.ts:49–54  ·  view source on GitHub ↗

* Destroy the cache and clean up resources

()

Source from the content-addressed store, hash-verified

47 * Destroy the cache and clean up resources
48 */
49 destroy(): void {
50 if (this.cleanupInterval) {
51 clearInterval(this.cleanupInterval);
52 }
53 this.clear();
54 }
55
56 /**
57 * Gets a value from cache

Callers 2

closeDatabaseMethod · 0.80
cache.util.spec.tsFile · 0.80

Calls 1

clearMethod · 0.95

Tested by

no test coverage detected