From 55b97793fd4990e28e53ca76214bea2ba7ab1211 Mon Sep 17 00:00:00 2001 From: Jarrod Johnson Date: Tue, 8 Dec 2020 18:23:13 -0500 Subject: [PATCH] Lower concurrency limit of ipmi actions IPMI actions can be a bit sensitive. Introduce some serialization for improved robustness in liue of better parallelism. The ideal would be to have 128 per core/process in the end, but for now, a pool for 128 concurrent operations in flight at a time. --- confluent_server/confluent/plugins/hardwaremanagement/ipmi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py index aa53de83..7592a5fa 100644 --- a/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py +++ b/confluent_server/confluent/plugins/hardwaremanagement/ipmi.py @@ -110,7 +110,7 @@ def exithandler(): atexit.register(exithandler) -_ipmiworkers = greenpool.GreenPool() +_ipmiworkers = greenpool.GreenPool(128) _ipmithread = None _ipmiwaiters = []