]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Merge branch 'ticket23856_025_01' into maint-0.3.2
authorNick Mathewson <nickm@torproject.org>
Mon, 27 Nov 2017 15:02:03 +0000 (10:02 -0500)
committerNick Mathewson <nickm@torproject.org>
Mon, 27 Nov 2017 15:02:03 +0000 (10:02 -0500)
1  2 
src/or/rephist.c
src/or/router.c

Simple merge
diff --cc src/or/router.c
index 8ad5d038efdef07ef07ca204622098ac3933a684,e1c2d20b3a1a409d688b34b3473c411f3788af00..010ee339a05c9b0964d354933a6a01a745af7c5d
@@@ -2511,9 -2063,8 +2511,9 @@@ mark_my_descriptor_dirty(const char *re
  }
  
  /** How frequently will we republish our descriptor because of large (factor
 - * of 2) shifts in estimated bandwidth? */
 + * of 2) shifts in estimated bandwidth? Note: We don't use this constant
 + * if our previous bandwidth estimate was exactly 0. */
- #define MAX_BANDWIDTH_CHANGE_FREQ (20*60)
+ #define MAX_BANDWIDTH_CHANGE_FREQ (3*60*60)
  
  /** Check whether bandwidth has changed a lot since the last time we announced
   * bandwidth. If so, mark our descriptor dirty. */