lifecycle: adjust worker count

This commit is contained in:
Jens Langhammer 2020-09-17 09:35:08 +02:00
parent cbbe174fd8
commit 97ce143efe
1 changed files with 1 additions and 1 deletions

View File

@ -47,5 +47,5 @@ logconfig_dict = {
if Path("/var/run/secrets/kubernetes.io").exists(): if Path("/var/run/secrets/kubernetes.io").exists():
workers = 2 workers = 2
else: else:
worker = cpu_count() worker = cpu_count() * 2 + 1
threads = 4 threads = 4