CreateFileCheckpointStoreOptions
このコンテンツはまだ日本語訳がありません。
createFileCheckpointStore 的选项:快照根目录 + 可选保留策略
dir: string;快照根目录(显式传入,恒不隐式扫用户目录);布局 <dir>/<sessionId>/<checkpointId>.json
optional max?: number;同会话快照数上限;到顶按时间序淘汰最旧,不分 trigger(缺省不限)。= retention.max 别名(同给时 retention 优先)
retention?
Section titled “retention?”optional retention?: CheckpointRetention;保留策略:max / maxAgeDays 并集,kernel 在写后施行;刚写入者恒保留
このページは役に立ちましたか?
フィードバックありがとうございます。この記事の改善に活かします。