mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Tweak the Kindle startup script.
Not a huge fan of negative nice values, you're screwed if it chokes @ 100% CPU on UP systems. Besides, AFAICT, neither awesome nor the Booklet thread runs at negative values.
This commit is contained in:
@@ -62,9 +62,9 @@ if [ "$(nice)" == "5" ] ; then
|
||||
usleep 250000
|
||||
fi
|
||||
|
||||
# Kindlet threads spawn with a nice value of 5, we aim for the same -2 as the KF8 reader
|
||||
# Kindlet threads spawn with a nice value of 5, go back to a neutral value
|
||||
logmsg "Be nice!"
|
||||
renice -n -7 $$
|
||||
renice -n -5 $$
|
||||
fi
|
||||
|
||||
# we're always starting from our working directory
|
||||
|
||||
Reference in New Issue
Block a user