Minor syntax cleanups

This commit is contained in:
tsightler
2023-06-30 14:07:58 -04:00
parent 5b529ff3ab
commit f13af473a6
38 changed files with 156 additions and 148 deletions

View File

@@ -61,11 +61,11 @@ export default new class Utils {
getCpuCores() {
let detectedCores = 0
// Try to detect the number of physical cores. This is a slightly different
// technique vs what I've seen in other places, which seem to mostly depend
// Try to detect the number of physical cores. This is a slightly different
// technique vs what I've seen in other places, which seem to mostly depend
// on lscpu, which isn't installed by default on Alpine Linux. While I could
// just pull it in for the Docker image, it wasn't clear to me how common it
// is for lscpu to be installed on other distros so decided to try a different
// is for lscpu to be installed on other distros so decided to try a different
// technique.
//
// The code below checks if at least one cpu core_id file exist in sysfs and,