aboutsummaryrefslogtreecommitdiffstats
path: root/src/UpdateGlue.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/UpdateGlue.cxx')
-rw-r--r--src/UpdateGlue.cxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/UpdateGlue.cxx b/src/UpdateGlue.cxx
index 72938018a..29e5f3ca7 100644
--- a/src/UpdateGlue.cxx
+++ b/src/UpdateGlue.cxx
@@ -34,6 +34,7 @@
#include "system/FatalError.hxx"
#include "thread/Id.hxx"
#include "thread/Thread.hxx"
+#include "thread/Util.hxx"
#include <assert.h>
@@ -68,6 +69,8 @@ update_task(gcc_unused void *ctx)
else
LogDebug(update_domain, "starting");
+ SetThreadIdlePriority();
+
modified = update_walk(next.path_utf8.c_str(), next.discard);
if (modified || !db_exists()) {