mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
Fix incorrect bad file size logging.
This commit is contained in:
parent
09e014cc14
commit
b487644355
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ namespace {
|
||||||
// max 512kb uploaded at the same time in each session
|
// max 512kb uploaded at the same time in each session
|
||||||
constexpr auto kMaxUploadFileParallelSize = MTP::kUploadSessionsCount * 512 * 1024;
|
constexpr auto kMaxUploadFileParallelSize = MTP::kUploadSessionsCount * 512 * 1024;
|
||||||
|
|
||||||
constexpr auto kDocumentMaxPartsCount = 3000;
|
constexpr auto kDocumentMaxPartsCount = 4000;
|
||||||
|
|
||||||
// 32kb for tiny document ( < 1mb )
|
// 32kb for tiny document ( < 1mb )
|
||||||
constexpr auto kDocumentUploadPartSize0 = 32 * 1024;
|
constexpr auto kDocumentUploadPartSize0 = 32 * 1024;
|
||||||
|
|
Loading…
Add table
Reference in a new issue