From 91a0420c47d85f2c2aa1d615c0e0591be74e7b74 Mon Sep 17 00:00:00 2001 From: acetone Date: Sun, 5 Mar 2023 19:55:22 +0300 Subject: [PATCH] decrease invite link life time --- src/voicegate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/voicegate.cpp b/src/voicegate.cpp index 917fd50..9292825 100644 --- a/src/voicegate.cpp +++ b/src/voicegate.cpp @@ -29,7 +29,7 @@ along with this program. If not, see . constexpr const int CAPTCHA_CACHE_SIZE_LIMIT = 512; constexpr const int SIGNATURE_SECRET_LENGTH = 10; constexpr const uint8_t BAD_CAPTCHA_THRESHOLD_TO_DELETE = 10; -constexpr const uint8_t INVITE_TIMEOUT = 180; // secs +constexpr const uint8_t INVITE_TIMEOUT = 60; // secs constexpr const uint8_t CAPTCHA_TIMEOUT = 90*2; // from ZeroStorageCaptcha life time QMutex VoiceGate::m_captchaCacheMutex;