ExternalTemplateCachePruneOptions
Defined in: wp-typia-project-tools/src/runtime/template-source-cache.ts:126
Options for best-effort external template cache pruning.
Properties
Section titled “Properties”
optionalenv?:ProcessEnv
Defined in: wp-typia-project-tools/src/runtime/template-source-cache.ts:130
Environment object to inspect, defaulting to process.env.
force?
Section titled “force?”
optionalforce?:boolean
Defined in: wp-typia-project-tools/src/runtime/template-source-cache.ts:135
Force a full prune scan even when the last-pruned marker is still fresh.
optionalnow?:number|Date
Defined in: wp-typia-project-tools/src/runtime/template-source-cache.ts:140
Clock override for deterministic tests.
pruneIntervalMs?
Section titled “pruneIntervalMs?”
optionalpruneIntervalMs?:number
Defined in: wp-typia-project-tools/src/runtime/template-source-cache.ts:145
Minimum interval between full prune scans. Omit for the environment/default.
ttlDays?
Section titled “ttlDays?”
optionalttlDays?:number
Defined in: wp-typia-project-tools/src/runtime/template-source-cache.ts:150
TTL override in days. When omitted, the TTL environment variable is used.