2
0
mirror of https://github.com/xcat2/confluent.git synced 2024-11-26 03:19:48 +00:00

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.
This commit is contained in:
Jarrod Johnson 2020-12-08 18:23:13 -05:00
parent fa823510b6
commit 55b97793fd

View File

@ -110,7 +110,7 @@ def exithandler():
atexit.register(exithandler)
_ipmiworkers = greenpool.GreenPool()
_ipmiworkers = greenpool.GreenPool(128)
_ipmithread = None
_ipmiwaiters = []