mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-07 15:43:55 +02:00
Beta version 1.5.17: Improve large file streaming.
Allow header for streaming up to 8 MB.
This commit is contained in:
parent
b113696fe6
commit
2152fe6a79
1 changed files with 1 additions and 1 deletions
|
@ -19,7 +19,7 @@ namespace {
|
||||||
constexpr auto kPartSize = Loader::kPartSize;
|
constexpr auto kPartSize = Loader::kPartSize;
|
||||||
constexpr auto kPartsInSlice = 64;
|
constexpr auto kPartsInSlice = 64;
|
||||||
constexpr auto kInSlice = kPartsInSlice * kPartSize;
|
constexpr auto kInSlice = kPartsInSlice * kPartSize;
|
||||||
constexpr auto kMaxPartsInHeader = 16;
|
constexpr auto kMaxPartsInHeader = 64;
|
||||||
constexpr auto kMaxOnlyInHeader = 80 * kPartSize;
|
constexpr auto kMaxOnlyInHeader = 80 * kPartSize;
|
||||||
constexpr auto kPartsOutsideFirstSliceGood = 8;
|
constexpr auto kPartsOutsideFirstSliceGood = 8;
|
||||||
constexpr auto kSlicesInMemory = 2;
|
constexpr auto kSlicesInMemory = 2;
|
||||||
|
|
Loading…
Add table
Reference in a new issue