From 55e263a3942f879731af22a45c7b182f4548fb9c Mon Sep 17 00:00:00 2001 From: TheKysek Date: Mon, 19 Jun 2017 08:54:41 +0200 Subject: [PATCH] Object exchange tweaks --- minode/connection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/minode/connection.py b/minode/connection.py index 56fb832..750bd7c 100644 --- a/minode/connection.py +++ b/minode/connection.py @@ -319,8 +319,8 @@ class Connection(threading.Thread): def _send_objects(self): if self.vectors_to_send: - if len(self.vectors_to_send) > 32: - to_send = random.sample(self.vectors_to_send, 32) + if len(self.vectors_to_send) > 16: + to_send = random.sample(self.vectors_to_send, 16) self.vectors_to_send.difference_update(to_send) else: to_send = self.vectors_to_send.copy()