Skip to content

Commit fe15edf

Browse files
committed
Increase persistent text storage garbage collection threshold to one year
- increase to 1 year
1 parent 3b2bc50 commit fe15edf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/editor/src/views/prompt/backend/utils/persistent-text-storage.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import * as path from 'path'
33
import * as vscode from 'vscode'
44
import * as crypto from 'crypto'
55

6-
export const GARBAGE_COLLECTION_THRESHOLD = 7884000000 // 3 months
6+
export const GARBAGE_COLLECTION_THRESHOLD = 31536000000 // 1 year
77

88
export class PersistentTextStorage {
99
private dir_path: string

0 commit comments

Comments
 (0)