[gnome-builder] autotools: lower miner task priority
- From: Christian Hergert <chergert src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-builder] autotools: lower miner task priority
- Date: Sat, 25 Mar 2017 11:24:08 +0000 (UTC)
commit 147ae883970ac37b85b87d73a4ffeb23c68799e4
Author: Christian Hergert <chergert redhat com>
Date: Sat Mar 25 04:23:33 2017 -0700
autotools: lower miner task priority
plugins/autotools/ide-autotools-project-miner.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/plugins/autotools/ide-autotools-project-miner.c b/plugins/autotools/ide-autotools-project-miner.c
index 0a73e2b..7253970 100644
--- a/plugins/autotools/ide-autotools-project-miner.c
+++ b/plugins/autotools/ide-autotools-project-miner.c
@@ -327,6 +327,8 @@ ide_autotools_project_miner_mine_async (IdeProjectMiner *miner,
g_assert (!cancellable || G_IS_CANCELLABLE (cancellable));
task = g_task_new (miner, cancellable, callback, user_data);
+ g_task_set_source_tag (task, ide_autotools_project_miner_mine_async);
+ g_task_set_priority (task, G_PRIORITY_LOW);
/*
* Get the projects directory from GSettings.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]