[gnome-builder/gnome-builder-3-26] pipeline: lower task priority



commit 5d28a18cb063227762dc7244adb1b6450114d846
Author: Christian Hergert <chergert redhat com>
Date:   Wed Oct 4 17:58:19 2017 -0700

    pipeline: lower task priority

 libide/buildsystem/ide-build-pipeline.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)
---
diff --git a/libide/buildsystem/ide-build-pipeline.c b/libide/buildsystem/ide-build-pipeline.c
index efdb046..17b67c1 100644
--- a/libide/buildsystem/ide-build-pipeline.c
+++ b/libide/buildsystem/ide-build-pipeline.c
@@ -1446,6 +1446,7 @@ ide_build_pipeline_execute_async (IdeBuildPipeline    *self,
 
   task = g_task_new (self, cancellable, callback, user_data);
   g_task_set_source_tag (task, ide_build_pipeline_execute_async);
+  g_task_set_priority (task, G_PRIORITY_LOW);
 
   if (self->requested_mask == IDE_BUILD_PHASE_NONE)
     {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]