aboutsummaryrefslogtreecommitdiffstats
path: root/settings.py
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2017-12-27 18:51:37 +0800
committerPaul Eggleton <paul.eggleton@linux.intel.com>2018-02-05 10:58:37 +1300
commit6bf6794169e500d3cfb79f2862f344f576049501 (patch)
tree6bd285e8c210219d704c39afc6552e77068db525 /settings.py
parent2a4fa9a1b8d46c2881b55fd91ce2c1abc7435596 (diff)
downloadopenembedded-core-contrib-6bf6794169e500d3cfb79f2862f344f576049501.tar.gz
update.py: fetch repos in parallel
This can save a lot of time, here is my testing data when PARALLEL_JOBS is 10, this is the fetch time only, I hacked it to stop when the fetch is done to get the data (124 layers): $ update.py -b <branch> Before: 2m30 Now: 16s Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Diffstat (limited to 'settings.py')
-rw-r--r--settings.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/settings.py b/settings.py
index e26f4b2b35..c70ac4dd62 100644
--- a/settings.py
+++ b/settings.py
@@ -228,3 +228,6 @@ SUBMIT_EMAIL_SUBJECT = 'OE Layerindex layer submission'
# RabbitMQ settings
RABBIT_BROKER = 'amqp://'
RABBIT_BACKEND = 'rpc://'
+
+# Used for fetching repo
+PARALLEL_JOBS = "4"