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

Back off concurrent retrieval.

Some BMCs are incapable of handling concurrent requests.
This is a blow particularly to high latency management given
Redfish's tendency to require a lot of resource fetches, but
we don't have a particularly discoverable strategy for knowing
in advance whether an implementation is up for some optimization.
This commit is contained in:
Jarrod Johnson 2019-07-11 11:41:42 -04:00
parent c53264872a
commit 6ad1ce4df5

View File

@ -152,7 +152,9 @@ def sanitize_invdata(indata):
class IpmiCommandWrapper(ipmicommand.Command):
def __init__(self, node, cfm, **kwargs):
kwargs['pool'] = eventlet.greenpool.GreenPool(4)
#kwargs['pool'] = eventlet.greenpool.GreenPool(4)
#Some BMCs at the time of this writing crumble under the weight
#of 4 concurrent requests. For now give up on this optimization.
self.cfm = cfm
self.node = node
self._inhealth = False