assistant: On Linux, the expensive transfer scan is run niced.

This is a compromise. I would like to nice every thread except for the
webapp thread, but it's not practical to do so. That would need every
thread to run as a bound thread, which could add significant overhead.
And any forkIO would escape the nice level.
This commit is contained in:
Joey Hess 2013-06-20 21:10:16 -04:00
parent bfd3bba093
commit 6e309b63f8
4 changed files with 46 additions and 1 deletions

1
debian/changelog vendored
View file

@ -35,6 +35,7 @@ git-annex (4.20130602) UNRELEASED; urgency=low
git-annex branch.
* Windows: The test suite now passes on Windows (a few broken parts are
disabled).
* assistant: On Linux, the expensive transfer scan is run niced.
-- Joey Hess <joeyh@debian.org> Mon, 10 Jun 2013 12:52:44 -0400