Commit 67e7111
Fix out-of-memory error in cache initialization
Changed from AdapterWithCapacity (which expects number of entries) to
AdapterWithStorageCapacity (which limits by bytes). This prevents OOM
errors on memory-constrained environments like Fly.io containers.
- Previous: 100000000 cache entries (interpreted as massive allocation)
- Now: 10MB memory limit for cache storage
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>1 parent e275bb0 commit 67e7111
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | | - | |
| 41 | + | |
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| |||
0 commit comments