-
Notifications
You must be signed in to change notification settings - Fork 237
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chunked: improve function to merge chunks
improve the function that combines neighbor chunks. Instead of using the number of parts, which also includes local files, use only the number of chunks that must be retrieved from the network. In addition, introduce a threshold limit to merge chunks so that we further reduce the number of requested ranges. Signed-off-by: Giuseppe Scrivano <gscrivan@redhat.com>
- Loading branch information
Showing
1 changed file
with
53 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters