diff options
Diffstat (limited to 'node/Constants.hpp')
-rw-r--r-- | node/Constants.hpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/node/Constants.hpp b/node/Constants.hpp index 5f21201e..0de14b85 100644 --- a/node/Constants.hpp +++ b/node/Constants.hpp @@ -194,6 +194,14 @@ #define ZT_RX_QUEUE_SIZE 64 /** + * Size of TX queue + * + * This is about 2mb, and can be decreased for small devices. A queue smaller + * than about 4 is probably going to cause a lot of lost packets. + */ +#define ZT_TX_QUEUE_SIZE 64 + +/** * Length of secret key in bytes -- 256-bit -- do not change */ #define ZT_PEER_SECRET_KEY_LENGTH 32 |