removed commented code

This commit is contained in:
mooleshacat 2024-10-21 23:59:51 -04:00
parent 5632e31335
commit 0a033b3dea
No known key found for this signature in database
GPG Key ID: 89DDFF5BD326A1B9

View File

@ -6,12 +6,6 @@ class Invidious::Loadavg
if CONFIG.loadavg_enabled
# get the uptime
#loadavg_cmd = "/usr/bin/cat /proc/loadavg | awk -F'[ ]' '{print $1\" \"$2\" \"$3}'"
#loadavg_args = ""
#process = Process.new(loadavg_cmd, [loadavg_args], output: Process::Redirect::Pipe)
#str_loadavg = process.output.gets_to_end
str_loadavg = `/usr/bin/cat /proc/loadavg | awk -F'[ ]' '{print $1" "$2" "$3}'`
else