We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 50d54db commit 41c3f1fCopy full SHA for 41c3f1f
src/utils/env.ts
@@ -61,10 +61,7 @@ export const env = createEnv({
61
ENABLE_HTTPS: boolSchema("false"),
62
HTTPS_PASSPHRASE: z.string().default("thirdweb-engine"),
63
TRUST_PROXY: z.boolean().default(false),
64
- // REDIS_MAXMEMORY should be set below the amount of memory Redis has available
65
- // to avoid running out of memory. If this limit is reached, Engine cannot
66
- // write new keys because keys are not evicted.
67
- REDIS_MAXMEMORY: z.string().default("900mb"),
+ REDIS_MAXMEMORY: z.string().default("0"),
68
// TRANSACTION_HISTORY_COUNT defines the max transaction details to keep.
69
// In testing, storing about 300k consumes 900mb memory.
70
TRANSACTION_HISTORY_COUNT: z.coerce.number().default(300_000),
0 commit comments