feat: Optimize download performance for external storage (#1785)
* feat: Optimize download performance for external storage Optimized download changes: - Debouncing download progress persistence to reduce disk I/O. - Switching to `FileChannel` for file writes and `Path.deleteRecursively()` for robust file system operations across various download managers (Epic, GOG). - Dynamically adjusting download and decompression concurrency based on CPU cores for better resource utilization. - Streamlining download status message updates in `DownloadInfo` and UI components. - Adding an option to skip large file allocation for Steam downloads to external storage. Also updates the JavaSteam dependency to 1.8.0.1-25-SNAPSHOT. * revert added file.toPath().deleteRecursively * update downloadInfo and add test * fix byteBuffer write * refactor DownloadInfo use newSingleThreadScheduledExecutor for writePersistedBytes * bump javasteam version * addressed AI comments * Revert "refactor DownloadInfo use newSingleThreadScheduledExecutor for writePersistedBytes" This reverts commit 690827ddfd44fe2b8f4caa816ae42de4e64bbf82. * make currentStatusMessage Volatile * remove unnecessary change
J
Joshua Tam committed
78bc4bbe779db1117d0e751a3b679d3b32d46328
Parent: d667313
Committed by GitHub <noreply@github.com>
on 8/17/2026, 4:50:40 PM