diff options
| author | chrislu <chris.lu@gmail.com> | 2025-12-09 21:11:21 -0800 |
|---|---|---|
| committer | chrislu <chris.lu@gmail.com> | 2025-12-09 21:11:21 -0800 |
| commit | 5ff708c63096637ef6023a05e7de92e4a6c88bc0 (patch) | |
| tree | 2fad75b05d182b7493273b61aea86b4d693b9869 /weed/util/config.go | |
| parent | 45721fefcfa4ddad02fc3cdbe1de9e2646a06bb1 (diff) | |
| download | seaweedfs-origin/nfs-cookie-prefix-list-fixes.tar.xz seaweedfs-origin/nfs-cookie-prefix-list-fixes.zip | |
cap prefetch size to prevent memory exhaustionorigin/nfs-cookie-prefix-list-fixes
When resuming at a large offset (e.g., from a stale NFS cookie),
the prefetch could load an unbounded number of entries into memory.
This adds maxPrefetchSize (10000) to cap memory usage.
Diffstat (limited to 'weed/util/config.go')
0 files changed, 0 insertions, 0 deletions
