Skip to content

Commit f2a922b

Browse files
authored
update: cache TTL to disable expiration in config (#404)
1 parent 50c6552 commit f2a922b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

backend/src/config.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { optionalBoolEnvironmentVariable, env } from './utils/misc.js'
44
const DEFAULT_MAX_CACHE_SIZE = BigInt(10 * 1024 ** 3)
55

66
const DEFAULT_CACHE_MAX_SIZE = 10 * 1024 ** 3 // 10GB
7-
const DEFAULT_CACHE_TTL = 1000000 // 1000000 seconds
7+
const DEFAULT_CACHE_TTL = 0 // No TTL
88

99
const ONE_MiB = 1024 ** 2
1010
const ONE_HUNDRED_MiB = ONE_MiB * 100

0 commit comments

Comments
 (0)