Skip to content

Commit 790de59

Browse files
committed
Update OPCacheTrait.php
1 parent acb2d60 commit 790de59

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/Dashboards/OPCache/OPCacheTrait.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,9 +80,10 @@ private function getPanelsData(): array {
8080
[
8181
'title' => 'Stats',
8282
'data' => [
83+
'Max accelerated_files' => Format::number($configuration['directives']['opcache.max_accelerated_files']),
8384
['Cached scripts', Format::number($stats['num_cached_scripts']).' ('.$used_scripts.'%)', $used_scripts, 'higher'],
8485
['Cached keys', Format::number($stats['num_cached_keys']).' ('.$used_keys.'%)', $used_keys, 'higher'],
85-
'Max cached keys' => Format::number($stats['max_cached_keys']),
86+
'Max cached keys' => Format::number($stats['max_cached_keys']),
8687
['Hits / Misses', Format::number($stats['hits']).' / '.Format::number($stats['misses']).' (Rate '.$hit_rate.'%)', $hit_rate, 'higher'],
8788
],
8889
],

0 commit comments

Comments
 (0)