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:
parent
feb40c1845
commit
1cd755cab8
1 changed files with 7 additions and 0 deletions
|
@ -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'
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue