From 591b106c582fe681d936c001cbea580298ffa569 Mon Sep 17 00:00:00 2001 From: Antoine Millet Date: Wed, 22 Dec 2010 15:39:41 +0100 Subject: [PATCH] Increased buffer size for sending and receiving. --- sjrpc/core/rpcconnection.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sjrpc/core/rpcconnection.py b/sjrpc/core/rpcconnection.py index bf70d0b..c5b1daa 100644 --- a/sjrpc/core/rpcconnection.py +++ b/sjrpc/core/rpcconnection.py @@ -25,8 +25,8 @@ class RpcConnection(object): This class manage a single peer connection. ''' - RECV_BUF_SIZE = 1024 - SEND_BUF_SIZE = 1024 + RECV_BUF_SIZE = 4096 + SEND_BUF_SIZE = 4096 REQUEST_MESSAGE = {'id': None, 'method': None, 'args': [], 'kwargs': {}} RESPONSE_MESSAGE = {'id': None, 'return': None, 'error': None} -- GitLab