rlerdorf / opcache-status

A one-page opcache status page
1.56k stars 377 forks source link

'opcache.max_wasted_percentage' wrong units #47

Closed adrian5 closed 2 years ago

adrian5 commented 7 years ago

Setting opcache.max_wasted_percentage to 5 seems to display 0.05 in the script, presumably because that's how PHP stores the value. I think multiplying it by 100 to restore the original meaning would be a good idea.