mirror of
https://github.com/Drop-OSS/drop-app.git
synced 2026-07-21 17:05:32 -04:00
[GH-ISSUE #104] Latency potentially killing download speed. #56
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @DecDuck on GitHub (Aug 3, 2025).
Original GitHub issue: https://github.com/Drop-OSS/drop-app/issues/104
Needs investigation
@quexeky commented on GitHub (Aug 3, 2025):
Very likely happening because the
function is only called after the chunk is actually started, and so every chunk stacks latency.
@quexeky commented on GitHub (Aug 3, 2025):
(From https://github.com/Drop-OSS/drop-app/blob/develop/src-tauri/src/games/downloads/download_logic.rs )
@DecDuck commented on GitHub (Aug 3, 2025):
Partially converting this download_logic to async may solve this issue. Async should allow the requests to fire, and then be scheduled off the worker threads until they're ready to receive data.
The main issue about off-scheduling is the headers expiring before we actually get a chance to download.
@quexeky commented on GitHub (Aug 4, 2025):
I mean, we could just retrigger it if it gets to that point - if we find a way to call them only a few chunks ahead, it could work out because then we only need to recall it on larger chunks, which are fine anyway
@DecDuck commented on GitHub (Aug 4, 2025):
We have two options actually:
@DecDuck commented on GitHub (Aug 6, 2025):
Or, when we get around to it, implementing file concatenation on the server would also solve this.
Latency potentially killing download speed.to [GH-ISSUE #104] Latency potentially killing download speed.