Commit 591b106c authored by Antoine Millet's avatar Antoine Millet
Browse files

Increased buffer size for sending and receiving.

parent 85285970
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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}