mirror of
https://github.com/PurpleI2P/i2pd.git
synced 2025-04-29 12:17:49 +02:00
add constants for congestion levels
This commit is contained in:
parent
a4a3f8e96b
commit
19e23b34da
5 changed files with 13 additions and 9 deletions
|
@ -139,6 +139,10 @@ namespace tunnel
|
|||
class TunnelPool;
|
||||
}
|
||||
|
||||
const int CONGESTION_LEVEL_MEDIUM = 70;
|
||||
const int CONGESTION_LEVEL_HIGH = 90;
|
||||
const int CONGESTION_LEVEL_FULL = 100;
|
||||
|
||||
const size_t I2NP_MAX_MESSAGE_SIZE = 62708;
|
||||
const size_t I2NP_MAX_SHORT_MESSAGE_SIZE = 4096;
|
||||
const size_t I2NP_MAX_MEDIUM_MESSAGE_SIZE = 16384;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue