From 8648dd97222066930d1b2f91fa758ee4e85b8d35 Mon Sep 17 00:00:00 2001 From: iliajie Date: Mon, 6 Mar 2023 15:48:23 +0200 Subject: [PATCH] Fix to make cache timeout configurable --- authentic-lib.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/authentic-lib.pl b/authentic-lib.pl index c34b4349b..6b82e469d 100644 --- a/authentic-lib.pl +++ b/authentic-lib.pl @@ -535,7 +535,7 @@ sub theme_list_combined_system_info my $skipmods; my $bgcall = post_has('xhr-info'); my $is_webmin = get_product_name() eq 'webmin'; - my @opts = ("combined-system-info-$remote_user", $theme_config{'settings_sysinfo_real_time_stored_length'}, 1); + my @opts = ("combined-system-info-$remote_user", $theme_config{'settings_sysinfo_cache_timeout'}, 1); if (!$bgcall && $is_webmin) { $skipmods = ['package-updates', 'webmin', 'cpuio']; my $combined_system_info_cache = theme_cached($opts[0], undef, undef, $opts[1]);