immich
immich copied to clipboard
refactor(server): group async calls in metadata extraction
Description
This PR refactors metadata extraction to increase concurrent asynchronous operations as well as making smaller code improvements, improving overall performance. It is based on #16390, which should be merged first.
Split off from #14277
I tested #14277 and refined the different parts of it in each split PR. I haven't tested the individual PRs extensively, but did confirm they work locally with one or two assets.
Tested on a variety of file types and phone models. No problems are spotted