Merge branch 'maint-0.3.1' into release-0.3.1

This commit is contained in:
Nick Mathewson 2018-01-31 10:01:13 -05:00
commit d83d1c7a89
1 changed files with 4 additions and 2 deletions

View File

@ -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;
}