diff options
author | Tiago Gomes <tiago.gomes@codethink.co.uk> | 2018-08-06 15:58:02 +0100 |
---|---|---|
committer | Tiago Gomes <tiago.avv@gmail.com> | 2018-08-06 15:03:25 +0000 |
commit | 4d6dbabe5c40e4710b1bf45393f22dbe6606c19c (patch) | |
tree | 3a9dc0bac9bda30bcea0cb17566c08890e4a90f8 | |
parent | be163e8d7c9f2711d702bdb0026a833839f74eff (diff) | |
download | buildstream-4d6dbabe5c40e4710b1bf45393f22dbe6606c19c.tar.gz |
PullQueue: fix resource used
Improve fetchers, builders and pushers documentation.
Closes #550.
-rw-r--r-- | buildstream/_scheduler/queues/pullqueue.py | 2 | ||||
-rw-r--r-- | 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. |