소스 검색

Widen max delta for TS/revision just a bit more for now.

Adam Ierymenko 9 년 전
부모
커밋
f9230eb970
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      node/CertificateOfMembership.hpp

+ 2 - 2
node/CertificateOfMembership.hpp

@@ -37,11 +37,11 @@
  * Default window of time for certificate agreement
  *
  * Right now we use time for 'revision' so this is the maximum time divergence
- * between two certs for them to agree. It comes out to three minutes, which
+ * between two certs for them to agree. It comes out to five minutes, which
  * gives a lot of margin for error if the controller hiccups or its clock
  * drifts but causes de-authorized peers to fall off fast enough.
  */
-#define ZT_NETWORK_COM_DEFAULT_REVISION_MAX_DELTA (ZT_NETWORK_AUTOCONF_DELAY * 3)
+#define ZT_NETWORK_COM_DEFAULT_REVISION_MAX_DELTA (ZT_NETWORK_AUTOCONF_DELAY * 5)
 
 namespace ZeroTier {