mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-09-07 08:26:51 +00:00
Fix task size cache TTL (#2887)
This commit is contained in:
parent
72962b3c76
commit
2c40224f6f
2 changed files with 6 additions and 1 deletions
5
.changeset/real-flies-try.md
Normal file
5
.changeset/real-flies-try.md
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
"roo-cline": patch
|
||||
---
|
||||
|
||||
Fix task size cache TTL
|
||||
|
|
@ -9,7 +9,7 @@ import { findLastIndex } from "../../shared/array"
|
|||
import { HistoryItem } from "../../shared/HistoryItem"
|
||||
import { getTaskDirectoryPath } from "../../shared/storagePathManager"
|
||||
|
||||
const taskSizeCache = new NodeCache({ stdTTL: 5 * 60, checkperiod: 30 })
|
||||
const taskSizeCache = new NodeCache({ stdTTL: 30, checkperiod: 5 * 60 })
|
||||
|
||||
export type TaskMetadataOptions = {
|
||||
messages: ClineMessage[]
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue