Skip to content

Commit

Permalink
fix APCu memory usage
Browse files Browse the repository at this point in the history
  • Loading branch information
lukasbableck authored Oct 7, 2024
1 parent f31c032 commit 32c223c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion admin_apcuinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@
'uptime' => duration($cache['start_time'])
];

$overview['mem_used_percentage'] = number_format(($overview['mem_used'] / $overview['mem_avail']) * 100, 1);
$overview['mem_used_percentage'] = number_format(($overview['mem_used'] / $overview['mem_size']) * 100, 1);
$overview['num_hits_percentage'] = number_format(($overview['num_hits'] / $overview['num_hits_and_misses']) * 100,
1);
$overview['num_misses_percentage'] = number_format(($overview['num_misses'] / $overview['num_hits_and_misses']) * 100,
Expand Down

0 comments on commit 32c223c

Please sign in to comment.