Skip to content

Commit

Permalink
Fix to make cache timeout configurable
Browse files Browse the repository at this point in the history
  • Loading branch information
iliajie committed Mar 6, 2023
1 parent 21e49e7 commit 8648dd9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion authentic-lib.pl
Original file line number Diff line number Diff line change
Expand Up @@ -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]);
Expand Down

0 comments on commit 8648dd9

Please sign in to comment.