[gnome-ostree/wip/new-model: 11/12] autobuilder: Do not queue an initial full resolve
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree/wip/new-model: 11/12] autobuilder: Do not queue an initial full resolve
- Date: Thu, 20 Jun 2013 03:58:43 +0000 (UTC)
commit 561af62221851114032db0443d957694d8aa9874
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Wed Jun 19 22:28:10 2013 -0400
autobuilder: Do not queue an initial full resolve
src/js/builtins/autobuilder.js | 5 ++---
1 files changed, 2 insertions(+), 3 deletions(-)
---
diff --git a/src/js/builtins/autobuilder.js b/src/js/builtins/autobuilder.js
index b8bb923..b3d4bd9 100644
--- a/src/js/builtins/autobuilder.js
+++ b/src/js/builtins/autobuilder.js
@@ -43,7 +43,7 @@ const Autobuilder = new Lang.Class({
this._buildNeeded = true;
this._initialResolveNeeded = true;
- this._fullResolveNeeded = true;
+ this._fullResolveNeeded = false;
this._resolveTimeout = 0;
this._resolveSrcUrls = [];
},
@@ -68,8 +68,7 @@ const Autobuilder = new Lang.Class({
/* Start an initial, non-fetching resolve */
this._runResolve();
- /* Flag immediately that we need a full resolve */
- this._fullResolveNeeded = true;
+
/* And set a timeout for 10 minutes for the next full resolve */
this._resolveTimeout = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT,
60 * 10, Lang.bind(this, this._triggerFullResolve));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]