Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/parse-community/parse-server
/
Class
src/Adapters/Cache/InMemoryCache.js:3–3 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
const
DEFAULT_CACHE_TTL = 5 * 1000;
2
3
export
class
InMemoryCache {
4
constructor({ ttl = DEFAULT_CACHE_TTL }) {
5
this.ttl = ttl;
6
this.cache = Object.create(null);
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected