[gnome-ostree] autobuilder: Actually install a fetch timeout again
- From: Colin Walters <walters src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-ostree] autobuilder: Actually install a fetch timeout again
- Date: Tue, 18 Dec 2012 21:04:53 +0000 (UTC)
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]