[aur] enabled by default

This commit is contained in:
Vinicius Moreira
2019-11-27 12:55:08 -03:00
parent 55e871151e
commit 7dda7eaa18
12 changed files with 42 additions and 25 deletions

View File

@@ -83,7 +83,7 @@ class ArchCompilationOptimizer(Thread if bool(os.getenv('BAUH_DEBUG', 0)) else P
self.logger.info("Arch packages compilation optimization is disabled. Aborting...")
else:
try:
ncpus = ceil(os.cpu_count() * 1.5)
ncpus = os.cpu_count()
except:
self.logger.error('Could not determine the number of processors. Aborting...')
ncpus = None