]> git.mxchange.org Git - friendica.git/commitdiff
Round the load to two digits
authorMichael <heluecht@pirati.ca>
Sat, 24 Feb 2024 17:37:30 +0000 (17:37 +0000)
committerMichael <heluecht@pirati.ca>
Sat, 24 Feb 2024 17:37:30 +0000 (17:37 +0000)
src/Core/System.php

index df8cb9377e6bdd7f70ea61aae32d17e92e721866..b38076ad41e615bc9e32eba85432f466db263ebf 100644 (file)
@@ -473,7 +473,7 @@ class System
                        return false;
                }
 
-               return max($load_arr[0], $load_arr[1]);
+               return round(max($load_arr[0], $load_arr[1]), 2);
        }
 
        /**