From 54b5342af4e4a1e885b149226326edb36c33d225 Mon Sep 17 00:00:00 2001 From: John Preston Date: Wed, 20 Nov 2019 17:30:20 +0300 Subject: [PATCH] Closed alpha version 1.9.1.2: Key expire in 10 min. --- Telegram/SourceFiles/mtproto/connection.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Telegram/SourceFiles/mtproto/connection.cpp b/Telegram/SourceFiles/mtproto/connection.cpp index 3ea3f70a0..7bcec5115 100644 --- a/Telegram/SourceFiles/mtproto/connection.cpp +++ b/Telegram/SourceFiles/mtproto/connection.cpp @@ -36,7 +36,7 @@ constexpr auto kMarkConnectionOldTimeout = crl::time(192000); constexpr auto kPingDelayDisconnect = 60; constexpr auto kPingSendAfter = 30 * crl::time(1000); constexpr auto kPingSendAfterForce = 45 * crl::time(1000); -constexpr auto kTemporaryExpiresIn = TimeId(10); +constexpr auto kTemporaryExpiresIn = TimeId(600); constexpr auto kBindKeyAdditionalExpiresTimeout = TimeId(30); constexpr auto kTestModeDcIdShift = 10000; constexpr auto kCheckSentRequestsEach = 1 * crl::time(1000);