lifecycle: adjust worker count
This commit is contained in:
parent
cbbe174fd8
commit
97ce143efe
|
@ -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
|
||||||
|
|
Reference in a new issue