mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-04-16 14:17:12 +02:00
Fix killing of upload sessions for inactivity.
This commit is contained in:
parent
72d6ba5e41
commit
5c02a61de6
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ constexpr auto kDocumentUploadPartSize4 = 512 * 1024;
|
|||
constexpr auto kUploadRequestInterval = crl::time(500);
|
||||
|
||||
// How much time without upload causes additional session kill.
|
||||
constexpr auto kKillSessionTimeout = 15 * crl::time(000);
|
||||
constexpr auto kKillSessionTimeout = 15 * crl::time(1000);
|
||||
|
||||
[[nodiscard]] const char *ThumbnailFormat(const QString &mime) {
|
||||
return Core::IsMimeSticker(mime) ? "WEBP" : "JPG";
|
||||
|
|
Loading…
Add table
Reference in a new issue