[gnome-ostree] autobuilder: Actually install a fetch timeout again



commit 6586f537a1e354b10d193ee54b4745d9bd62a176
Author: Colin Walters <walters verbum org>
Date:   Tue Dec 18 16:04:12 2012 -0500

    autobuilder: Actually install a fetch timeout again
    
    This got lost in earlier code reshuffling.

 src/ostbuild/js/autobuilder.js |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)
---
diff --git a/src/ostbuild/js/autobuilder.js b/src/ostbuild/js/autobuilder.js
index 3c6b702..01c64f6 100644
--- a/src/ostbuild/js/autobuilder.js
+++ b/src/ostbuild/js/autobuilder.js
@@ -61,7 +61,9 @@ const AutoBuilder = new Lang.Class({
 
 	this._status_path = this.workdir.get_child('autobuilder-' + this.prefix + '.json');
 
-	this._fetch();
+	this._resolve_timeout = GLib.timeout_add_seconds(GLib.PRIORITY_DEFAULT,
+							 60 * 10, Lang.bind(this, this._fetchAll));
+	this._fetchAll();
 	if (this._source_snapshot_path != null)
 	    this._run_build();
 



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