diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-04-26 10:13:25 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-04-27 21:40:13 -0400 |
commit | 920475f293a8a69dd846cd06249b4b699857a3d4 (patch) | |
tree | 724e3cab92a42745f36af074a839e33183557a47 /src/or/consdiffmgr.c | |
parent | 466e9140888f0a6a504dc642a0426bd2352f0490 (diff) | |
download | tor-920475f293a8a69dd846cd06249b4b699857a3d4.tar.gz tor-920475f293a8a69dd846cd06249b4b699857a3d4.zip |
New force-delete option on consensus_cache_delete_pending()
If we're out of file space in the storage directory, we'll need to
get rid of old files fast.
Diffstat (limited to 'src/or/consdiffmgr.c')
-rw-r--r-- | src/or/consdiffmgr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/consdiffmgr.c b/src/or/consdiffmgr.c index fb09d21ef8..1f3915f6e8 100644 --- a/src/or/consdiffmgr.c +++ b/src/or/consdiffmgr.c @@ -614,7 +614,7 @@ consdiffmgr_cleanup(void) smartlist_free(diffs); // Actually remove files, if they're not used. - consensus_cache_delete_pending(cdm_cache_get()); + consensus_cache_delete_pending(cdm_cache_get(), 0); return n_to_delete; } |