summaryrefslogtreecommitdiff
path: root/src/common/util.h
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-07-26 09:59:48 -0400
committerNick Mathewson <nickm@torproject.org>2016-07-26 09:59:48 -0400
commitfb7f90c181dc44ae9f23cb4d16cac25609463d9f (patch)
tree8dbd4fcac2b2a70c3089858efc219d3bd5b8879c /src/common/util.h
parent77459b97aac15949c5160ca8abb9af792f02ac73 (diff)
downloadtor-fb7f90c181dc44ae9f23cb4d16cac25609463d9f.tar.gz
tor-fb7f90c181dc44ae9f23cb4d16cac25609463d9f.zip
Tweaks on 19435 fix:
* Raise limit: 16k isn't all that high. * Don't log when limit exceded; log later on. * Say "over" when we log more than we say we log. * Add target version to changes file
Diffstat (limited to 'src/common/util.h')
-rw-r--r--src/common/util.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.h b/src/common/util.h
index 837d2e9cf3..a6638aa39b 100644
--- a/src/common/util.h
+++ b/src/common/util.h
@@ -292,7 +292,7 @@ typedef struct ratelim_t {
} ratelim_t;
#define RATELIM_INIT(r) { (r), 0, 0 }
-#define RATELIM_TOOMANY (16*1000)
+#define RATELIM_TOOMANY (16*1000*1000)
char *rate_limit_log(ratelim_t *lim, time_t now);