[gnome-ostree/wip/new-model: 33/34] 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: 33/34] autobuilder: Do not queue an initial full resolve
- Date: Thu, 11 Jul 2013 17:17:21 +0000 (UTC)
commit 68310db10731b50fbb0fcf1c8e80005cf43ff897
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 e5cbcd6..c3cd0d2 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]