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
81ddfcbeff
commit
c576874628
|
@ -173,7 +173,10 @@ if __name__=="__main__":
|
||||||
from oe.utils import ThreadedPool
|
from oe.utils import ThreadedPool
|
||||||
import multiprocessing
|
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))
|
pool = ThreadedPool(nproc, len(recipes))
|
||||||
|
|
||||||
result = []
|
result = []
|
||||||
|
|
Loading…
Reference in New Issue
Block a user