aboutsummaryrefslogtreecommitdiff
path: root/src/or
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2018-01-31 10:01:13 -0500
committerNick Mathewson <nickm@torproject.org>2018-01-31 10:01:13 -0500
commitcb90defba6f16ac96578a6b88c2c3d384a7748ee (patch)
tree643b253be193a5b6cc41bb9711a27a162b7acaff /src/or
parente81896adda197b705958bcbe2b9d2c5db839b8a5 (diff)
parent86e6cb640942de251e601b43a8afad45c4761268 (diff)
downloadtor-cb90defba6f16ac96578a6b88c2c3d384a7748ee.tar.gz
tor-cb90defba6f16ac96578a6b88c2c3d384a7748ee.zip
Merge branch 'maint-0.3.1' into maint-0.3.2
Diffstat (limited to 'src/or')
-rw-r--r--src/or/consdiffmgr.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/or/consdiffmgr.c b/src/or/consdiffmgr.c
index ab11d0c957..1d30b46ed2 100644
--- a/src/or/consdiffmgr.c
+++ b/src/or/consdiffmgr.c
@@ -1311,8 +1311,10 @@ store_multiple(consensus_cache_entry_handle_t **handles_out,
body_out,
bodylen_out);
if (ent == NULL) {
- log_warn(LD_FS, "Unable to store object %s compressed with %s.",
- description, methodname);
+ static ratelim_t cant_store_ratelim = RATELIM_INIT(5*70);
+ log_fn_ratelim(&cant_store_ratelim, LOG_WARN, LD_FS,
+ "Unable to store object %s compressed with %s.",
+ description, methodname);
continue;
}