mirror of
https://github.com/zerotier/ZeroTierOne.git
synced 2025-06-16 06:08:15 +00:00
Tweak new RX queue algorithm to "expire" old entries to prevent always needing to traverse the whole queue array.
This commit is contained in:
@ -169,6 +169,11 @@
|
||||
*/
|
||||
#define ZT_RX_QUEUE_SIZE 64
|
||||
|
||||
/**
|
||||
* RX queue entries older than this do not "exist"
|
||||
*/
|
||||
#define ZT_RX_QUEUE_EXPIRE 4000
|
||||
|
||||
/**
|
||||
* Length of secret key in bytes -- 256-bit -- do not change
|
||||
*/
|
||||
|
Reference in New Issue
Block a user