소스 검색

be more aggressive about building circuits when we have no
open circuits


svn:r2290

Roger Dingledine 22 년 전
부모
커밋
9504db8ce8
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/or/circuituse.c

+ 2 - 2
src/or/circuituse.c

@@ -315,8 +315,8 @@ void circuit_build_needed_circs(time_t now) {
  * want to be building at once, if there are no open general-purpose
  * circuits?
  */
-#define CIRCUIT_MIN_BUILDING_GENERAL 3
-  /* if there's no open circ, and less than 3 are on the way,
+#define CIRCUIT_MIN_BUILDING_GENERAL 5
+  /* if there's no open circ, and less than 5 are on the way,
    * go ahead and try another. */
   if(!circ && circuit_count_building(CIRCUIT_PURPOSE_C_GENERAL)
               < CIRCUIT_MIN_BUILDING_GENERAL) {