瀏覽代碼

Nominaly lower the minimum timeout value to 1500.

This won't change any behavior, since it will still be rounded back
up to 2seconds, but should reduce the chances of some extra warns.
Mike Perry 15 年之前
父節點
當前提交
7eedd0f6bc
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/or/or.h

+ 1 - 1
src/or/or.h

@@ -2996,7 +2996,7 @@ double circuit_build_times_quantile_cutoff(void);
 #define CBT_DEFAULT_TEST_FREQUENCY 60
 
 /** Lowest allowable value for CircuitBuildTimeout in milliseconds */
-#define CBT_DEFAULT_TIMEOUT_MIN_VALUE (2*1000)
+#define CBT_DEFAULT_TIMEOUT_MIN_VALUE (1500)
 
 /** Initial circuit build timeout in milliseconds */
 #define CBT_DEFAULT_TIMEOUT_INITIAL_VALUE (60*1000)