Pārlūkot izejas kodu

Change ZT_MULTIPATH_FLOW_EXPIRATION_INTERVAL from 30 seconds to 5 minutes

Joseph Henry 5 gadi atpakaļ
vecāks
revīzija
fa86b8bae0
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1 1
      node/Constants.hpp

+ 1 - 1
node/Constants.hpp

@@ -414,7 +414,7 @@
  * How long before we consider a flow to be dead and remove it from the
  * policy's list.
  */
-#define ZT_MULTIPATH_FLOW_EXPIRATION_INTERVAL 30000
+#define ZT_MULTIPATH_FLOW_EXPIRATION_INTERVAL (60000 * 5)
 
 /**
  * How often a flow's statistical counters are reset