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:
parent
c53264872a
commit
6ad1ce4df5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user