This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Media repository reads files from disk on the main thread. #9312
Labels
T-Task
Refactoring, removal, replacement, enabling or disabling functionality, other engineering tasks.
It does use
FileSender
, which reads the file in chunks and so shouldn't be too slow, but nonetheless there is potential for disk I/O to take a long time (especially with networked storage).We should look into either a) doing async file I/O (though that is likely hard) or b) do the reads from a thread.
The text was updated successfully, but these errors were encountered: