summaryrefslogtreecommitdiff
path: root/src/or/or.h
diff options
context:
space:
mode:
authorMike Perry <mikeperry-git@fscked.org>2009-08-31 23:09:54 -0700
committerMike Perry <mikeperry-git@fscked.org>2009-09-16 15:51:17 -0700
commit95735e547838e05a574b55da00d3d04c1084452a (patch)
treebccefe514842acf8f6ba96d0e2c49ad072f512b1 /src/or/or.h
parent7ac9a66c8fb2ec369a7f99cc502200406f3760b2 (diff)
downloadtor-95735e547838e05a574b55da00d3d04c1084452a.tar.gz
tor-95735e547838e05a574b55da00d3d04c1084452a.zip
Fix the math.h log() conflict.
It was compiling, but causing segfaults. Also, adjust when the timer starts for new test circs and save state every 25 circuits.
Diffstat (limited to 'src/or/or.h')
-rw-r--r--src/or/or.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/or/or.h b/src/or/or.h
index 809e38572f..aeca0226a1 100644
--- a/src/or/or.h
+++ b/src/or/or.h
@@ -2877,6 +2877,9 @@ typedef uint32_t build_time_t;
/* How often in seconds should we build a test circuit */
#define BUILD_TIMES_TEST_FREQUENCY 60
+/* Save state every 25 circuits */
+#define BUILD_TIMES_SAVE_STATE_EVERY 25
+
typedef struct {
build_time_t circuit_build_times[NCIRCUITS_TO_OBSERVE];
time_t network_last_live;