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:
Peter Šurda 2017-12-29 08:41:15 +01:00
parent 3cb9547389
commit 02490e3286
Signed by untrusted user: PeterSurda
GPG Key ID: 0C5F50C0B5F37D87
1 changed files with 1 additions and 1 deletions

View File

@ -180,7 +180,7 @@ class TCPConnection(BMProto, TLSDispatcher):
payload += hash
objectCount += 1
if objectCount >= BMProto.maxObjectCount:
self.sendChunk()
sendChunk()
payload = b''
objectCount = 0