summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiago Gomes <tiago.avv@gmail.com>2018-08-06 16:55:03 +0000
committerTiago Gomes <tiago.avv@gmail.com>2018-08-06 16:55:03 +0000
commita8073264fb5e50090d64a8ad8acbb1ef64fda2f1 (patch)
tree3a9dc0bac9bda30bcea0cb17566c08890e4a90f8
parentbe163e8d7c9f2711d702bdb0026a833839f74eff (diff)
parent4d6dbabe5c40e4710b1bf45393f22dbe6606c19c (diff)
downloadbuildstream-a8073264fb5e50090d64a8ad8acbb1ef64fda2f1.tar.gz
Merge branch 'tiagogomes/issue-550' into 'master'
PullQueue: fix resource used Closes #550 See merge request BuildStream/buildstream!611
-rw-r--r--buildstream/_scheduler/queues/pullqueue.py2
-rw-r--r--buildstream/data/userconfig.yaml4
2 files changed, 3 insertions, 3 deletions
diff --git a/buildstream/_scheduler/queues/pullqueue.py b/buildstream/_scheduler/queues/pullqueue.py
index 430afc410..5d732fcf8 100644
--- a/buildstream/_scheduler/queues/pullqueue.py
+++ b/buildstream/_scheduler/queues/pullqueue.py
@@ -29,7 +29,7 @@ class PullQueue(Queue):
action_name = "Pull"
complete_name = "Pulled"
- resources = [ResourceType.UPLOAD]
+ resources = [ResourceType.DOWNLOAD]
def process(self, element):
# returns whether an artifact was downloaded or not
diff --git a/buildstream/data/userconfig.yaml b/buildstream/data/userconfig.yaml
index 6f9f190a1..5f9b01120 100644
--- a/buildstream/data/userconfig.yaml
+++ b/buildstream/data/userconfig.yaml
@@ -35,13 +35,13 @@ cache:
#
scheduler:
- # Maximum number of simultaneous source downloading tasks.
+ # Maximum number of simultaneous downloading tasks.
fetchers: 10
# Maximum number of simultaneous build tasks.
builders: 4
- # Maximum number of simultaneous artifact uploading tasks.
+ # Maximum number of simultaneous uploading tasks.
pushers: 4
# Maximum number of retries for network tasks.