Clear all RDS cached data. Useful for testing or when you need to free memory.
import { clearRDSCache, getRDSCacheStats } from 'aws-instance-info'console.log(getRDSCacheStats()) // { instances: 10, families: 3, infoLoaded: true }clearRDSCache()console.log(getRDSCacheStats()) // { instances: 0, families: 0, infoLoaded: false } Copy
import { clearRDSCache, getRDSCacheStats } from 'aws-instance-info'console.log(getRDSCacheStats()) // { instances: 10, families: 3, infoLoaded: true }clearRDSCache()console.log(getRDSCacheStats()) // { instances: 0, families: 0, infoLoaded: false }
Clear all RDS cached data. Useful for testing or when you need to free memory.