From 4d6dbabe5c40e4710b1bf45393f22dbe6606c19c Mon Sep 17 00:00:00 2001 From: Tiago Gomes Date: Mon, 6 Aug 2018 15:58:02 +0100 Subject: PullQueue: fix resource used Improve fetchers, builders and pushers documentation. Closes #550. --- buildstream/_scheduler/queues/pullqueue.py | 2 +- buildstream/data/userconfig.yaml | 4 ++-- 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. -- cgit v1.2.1