CPU priority levels

By default the priority level is set to 19 (the normal lowest priority a non-root user can set in Linux)
thank you for the suggestion and input Theluga.
This commit is contained in:
steel99xl 2023-12-16 14:33:59 -05:00 committed by GitHub
parent feb40c1845
commit 1cd755cab8
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -62,6 +62,13 @@ then
fi
# This was moved down here to not affect performance of setting AB.offset
priority=19 # Priority level , 0 = regular app , 19 = very much background app
# Set the priority of the current script, Thank you Theluga.
renice "$cpu_limit" "$$"
touch '/tmp/AB.running'