Added support for request_batch parsing in _parseMessage

This commit is contained in:
Mads Marquart
2018-11-09 20:08:26 +01:00
parent 64bdde8f33
commit 160386be62

View File

@@ -1993,6 +1993,10 @@ class Client(object):
self.sticky = content['lb_info']['sticky'] self.sticky = content['lb_info']['sticky']
self.pool = content['lb_info']['pool'] self.pool = content['lb_info']['pool']
if 'batches' in content:
for batch in content['batches']:
self._parseMessage(batch)
if 'ms' not in content: return if 'ms' not in content: return
for m in content["ms"]: for m in content["ms"]: