Use a temporary file instead of io.ReadAll when restoring attachments from a dump. This prevents loading entire files into memory, which could cause OOM errors for large attachments during restore. |
||
|---|---|---|
| .. | ||
| auth | ||
| avatar | ||
| background | ||
| dump | ||
| keyvalue | ||
| migration | ||