Explorar o código

Increase multicast announce frequency a little.

Adam Ierymenko %!s(int64=4) %!d(string=hai) anos
pai
achega
e9e20fdad8
Modificáronse 1 ficheiros con 4 adicións e 1 borrados
  1. 4 1
      node/Constants.hpp

+ 4 - 1
node/Constants.hpp

@@ -186,6 +186,9 @@
  */
 #define ZT_ADDRESS_LENGTH_HEX 10
 
+/**
+ * Size of symmetric key (only the first 32 bits are used for some ciphers)
+ */
 #define ZT_SYMMETRIC_KEY_SIZE 48
 
 /**
@@ -253,7 +256,7 @@
 /**
  * Period for multicast LIKE announcements
  */
-#define ZT_MULTICAST_ANNOUNCE_PERIOD 120000
+#define ZT_MULTICAST_ANNOUNCE_PERIOD 60000
 
 /**
  * Delay between explicit MULTICAST_GATHER requests for a given multicast channel