Don't break if over 50k messages
- typo if there were over 50k messages in inventory caused PyBM to stall
This commit is contained in:
parent
3cb9547389
commit
02490e3286
|
@ -180,7 +180,7 @@ class TCPConnection(BMProto, TLSDispatcher):
|
||||||
payload += hash
|
payload += hash
|
||||||
objectCount += 1
|
objectCount += 1
|
||||||
if objectCount >= BMProto.maxObjectCount:
|
if objectCount >= BMProto.maxObjectCount:
|
||||||
self.sendChunk()
|
sendChunk()
|
||||||
payload = b''
|
payload = b''
|
||||||
objectCount = 0
|
objectCount = 0
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user