Skip to content

ExternalTemplateCachePruneOptions

Defined in: wp-typia-project-tools/src/runtime/template-source-cache.ts:126

Options for best-effort external template cache pruning.

optional env?: ProcessEnv

Defined in: wp-typia-project-tools/src/runtime/template-source-cache.ts:130

Environment object to inspect, defaulting to process.env.


optional force?: 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.


optional now?: number | Date

Defined in: wp-typia-project-tools/src/runtime/template-source-cache.ts:140

Clock override for deterministic tests.


optional pruneIntervalMs?: 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.


optional ttlDays?: 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.