lifecycle: adjust worker count

This commit is contained in:
Jens Langhammer 2020-09-17 09:35:08 +02:00
parent cbbe174fd8
commit 97ce143efe

View file

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