From 335d0b95d36bada44e720b365f6482ce8f54c1d7 Mon Sep 17 00:00:00 2001 From: Donncha O'Cearbhaill Date: Tue, 25 Aug 2015 16:35:35 +0200 Subject: Clean old descriptors from the service-side rend cache Parameterize the rend_cache_clean() function to allow it clean old rendezvous descriptors from the service-side cache as well as the client descriptor cache. --- src/or/rendcache.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/rendcache.h') diff --git a/src/or/rendcache.h b/src/or/rendcache.h index e13c9b4d1d..f04d0871ae 100644 --- a/src/or/rendcache.h +++ b/src/or/rendcache.h @@ -54,7 +54,7 @@ typedef enum { } rend_cache_type_t; void rend_cache_init(void); -void rend_cache_clean(time_t now); +void rend_cache_clean(time_t now, rend_cache_type_t cache_type); void rend_cache_failure_clean(time_t now); void rend_cache_clean_v2_descs_as_dir(time_t now, size_t min_to_remove); void rend_cache_purge(void); -- cgit v1.2.3-54-g00ecf