Buckets:
| /** | |
| * Cache configuration constants | |
| */ | |
| /** | |
| * Default cache limits when no per-cache overrides are given. | |
| */ | |
| export const CACHE = { | |
| /** Default maximum number of entries in a cache */ | |
| DEFAULT_MAX_ENTRIES: 100, | |
| /** Default TTL (Time-To-Live) for cache entries in milliseconds (5 minutes) */ | |
| DEFAULT_TTL_MS: 5 * 60 * 1000 | |
| } as const; | |
| /** | |
| * TTL and size for the model props cache. | |
| * Props don't change frequently, so we can cache them longer. | |
| */ | |
| export const MODEL_PROPS_CACHE = { | |
| /** Maximum number of model props to cache */ | |
| MAX_ENTRIES: 50, | |
| /** TTL for model props cache entries in milliseconds (10 minutes) */ | |
| TTL_MS: 10 * 60 * 1000 | |
| } as const; | |
| /** | |
| * TTL and size for the MCP resource cache. | |
| */ | |
| export const MCP_RESOURCE_CACHE = { | |
| /** Maximum number of MCP resources to cache */ | |
| MAX_ENTRIES: 50, | |
| /** TTL for MCP resource cache entries in milliseconds (5 minutes) */ | |
| TTL_MS: 5 * 60 * 1000 | |
| } as const; | |
Xet Storage Details
- Size:
- 924 Bytes
- Xet hash:
- 3939b15ecbcf6ac9913b7235c09fb4215f29f5e03444826d4f143e1684314614
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.