summaryrefslogtreecommitdiff
path: root/buildstream/data
diff options
context:
space:
mode:
authorJürg Billeter <j@bitron.ch>2017-07-27 10:20:53 +0100
committerJürg Billeter <j@bitron.ch>2017-07-27 11:58:44 +0100
commitbfd822b3232f69ed9df48a20fedf31be7e0986f1 (patch)
tree4f5859ebecbb3e89d7c6281184ac5a7ec62c3dfb /buildstream/data
parent855b63003ee15eb8cdd42f174a9193ee7b942ef5 (diff)
downloadbuildstream-bfd822b3232f69ed9df48a20fedf31be7e0986f1.tar.gz
Add network-retries option
Retry network tasks up to two times by default. Fixes #30
Diffstat (limited to 'buildstream/data')
-rw-r--r--buildstream/data/userconfig.yaml3
1 files changed, 3 insertions, 0 deletions
diff --git a/buildstream/data/userconfig.yaml b/buildstream/data/userconfig.yaml
index e5dcb7820..1cce9fcd5 100644
--- a/buildstream/data/userconfig.yaml
+++ b/buildstream/data/userconfig.yaml
@@ -39,6 +39,9 @@ scheduler:
# Maximum number of simultaneous artifact uploading tasks.
pushers: 4
+ # Maximum number of retries for network tasks.
+ network-retries: 2
+
# What to do when an element fails, if not running in
# interactive mode:
#