From 4b27996fa2f439ee140306ab71de45958fb5d49f Mon Sep 17 00:00:00 2001 From: JoshuaMoelans <60878493+JoshuaMoelans@users.noreply.github.com> Date: Mon, 16 Feb 2026 12:29:10 +0100 Subject: [PATCH] Update cleanup_cache function documentation fix option names + add `cache_max_items` as one of the cleanup parameters --- src/sentry_database.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/sentry_database.h b/src/sentry_database.h index 791c30d9f..c3fee8bc0 100644 --- a/src/sentry_database.h +++ b/src/sentry_database.h @@ -79,8 +79,8 @@ void sentry__process_old_runs( const sentry_options_t *options, uint64_t last_crash); /** - * Cleans up the cache based on options.max_cache_size and - * options.max_cache_age. + * Cleans up the cache based on options.cache_max_items, + * options.cache_max_size and options.cache_max_age. */ void sentry__cleanup_cache(const sentry_options_t *options);