rrs/tools/rrs_upstream_history.py: Disable threads due to new tinfoil API

The new tinfoil API don't support pythreads so set to 1 while
tinfoil have support.

Signed-off-by: Aníbal Limón <anibal.limon@linux.intel.com>
This commit is contained in:
Aníbal Limón 2017-01-06 10:38:41 -06:00 committed by Paul Eggleton
parent 8fc103d3d6
commit f8753345c0

View File

@ -173,7 +173,10 @@ if __name__=="__main__":
from oe.utils import ThreadedPool
import multiprocessing
nproc = min(multiprocessing.cpu_count(), len(recipes))
#nproc = min(multiprocessing.cpu_count(), len(recipes))
# XXX: The new tinfoil API don't support pythreads so
# set to 1 while tinfoil have support.
nproc = 1
pool = ThreadedPool(nproc, len(recipes))
result = []