mirror of
https://github.com/samsonjs/immich.git
synced 2026-03-26 09:25:51 +00:00
Fixes the intermittent EPIPE errors that myself and others are seeing. By explicitly returning a promise we ensure the caller correctly waits until the `sendFile` is complete before potentially closing or cleaning the socket. This is the most likely bug that would cause EPIPE errors. Fix was confirmed on a live system -- would benefit from a unit test though. |
||
|---|---|---|
| .. | ||
| domain | ||
| immich | ||
| immich-admin | ||
| infra | ||
| microservices | ||
| main.ts | ||