mirror of
git://git.yoctoproject.org/layerindex-web.git
synced 2025-07-19 20:59:01 +02:00
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:
parent
8fc103d3d6
commit
f8753345c0
|
@ -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 = []
|
||||
|
|
Loading…
Reference in New Issue
Block a user