decrease invite link life time

ver3
acetone 2023-03-05 19:55:22 +03:00
parent 7f3eb361f6
commit 91a0420c47
1 changed files with 1 additions and 1 deletions

View File

@ -29,7 +29,7 @@ along with this program. If not, see <https://www.gnu.org/licenses/>.
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;