Source

ppenet / ppenet / constants.py

Full commit
DEFAULT_ROUND_TRIP_TIME = 500
DEFAULT_PACKET_THROTTLE = 32
PACKET_THROTTLE_SCALE = 32
PACKET_THROTTLE_COUNTER = 7
PACKET_THROTTLE_ACCELERATION = 2
PACKET_THROTTLE_DECELERATION = 2
PACKET_THROTTLE_INTERVAL = 5000
PACKET_LOSS_SCALE = (1 << 16)
PACKET_LOSS_INTERVAL = 10000
WINDOW_SIZE_SCALE = 64 * 1024
TIMEOUT_LIMIT = 32
TIMEOUT_MINIMUM = 5000
TIMEOUT_MAXIMUM = 30000
PING_INTERVAL = 500
UNSEQUENCED_WINDOWS = 64
UNSEQUENCED_WINDOW_SIZE = 1024
FREE_UNSEQUENCED_WINDOWS = 32
RELIABLE_WINDOWS = 16
RELIABLE_WINDOW_SIZE = 0x1000
FREE_RELIABLE_WINDOWS = 8