summaryrefslogtreecommitdiff
path: root/src/or/consdiffmgr.c
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
commit8b162443b91b12e876d94282f1d5d6e0d519cb95 (patch)
tree88a766a5229ba2d143cf15ff7553ea72c8a7423e /src/or/consdiffmgr.c
parent69e242f845fa53ee0930127dc9dccae8ca5c70e8 (diff)
parentcb90defba6f16ac96578a6b88c2c3d384a7748ee (diff)
downloadtor-8b162443b91b12e876d94282f1d5d6e0d519cb95.tar.gz
tor-8b162443b91b12e876d94282f1d5d6e0d519cb95.zip
Merge branch 'maint-0.3.2'
Diffstat (limited to 'src/or/consdiffmgr.c')
-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 eb862192d4..eaeed0b7fd 100644
--- a/src/or/consdiffmgr.c
+++ b/src/or/consdiffmgr.c
@@ -1314,8 +1314,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;
}