mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-01-19 01:09:58 +00:00
reduce session termination timeout
This commit is contained in:
parent
8874ea8033
commit
78af34237e
@ -1,5 +1,5 @@
|
|||||||
/*
|
/*
|
||||||
* Copyright (c) 2022-2023, The PurpleI2P Project
|
* Copyright (c) 2022-2024, The PurpleI2P Project
|
||||||
*
|
*
|
||||||
* This file is part of Purple i2pd project and licensed under BSD3
|
* This file is part of Purple i2pd project and licensed under BSD3
|
||||||
*
|
*
|
||||||
@ -25,7 +25,7 @@ namespace i2p
|
|||||||
namespace transport
|
namespace transport
|
||||||
{
|
{
|
||||||
const int SSU2_CONNECT_TIMEOUT = 5; // 5 seconds
|
const int SSU2_CONNECT_TIMEOUT = 5; // 5 seconds
|
||||||
const int SSU2_TERMINATION_TIMEOUT = 330; // 5.5 minutes
|
const int SSU2_TERMINATION_TIMEOUT = 165; // in seconds
|
||||||
const int SSU2_CLOCK_SKEW = 60; // in seconds
|
const int SSU2_CLOCK_SKEW = 60; // in seconds
|
||||||
const int SSU2_CLOCK_THRESHOLD = 15; // in seconds, if more we should adjust
|
const int SSU2_CLOCK_THRESHOLD = 15; // in seconds, if more we should adjust
|
||||||
const int SSU2_TOKEN_EXPIRATION_TIMEOUT = 9; // for Retry message, in seconds
|
const int SSU2_TOKEN_EXPIRATION_TIMEOUT = 9; // for Retry message, in seconds
|
||||||
|
Loading…
x
Reference in New Issue
Block a user