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

Increased buffer size for sending and receiving.

parent 85285970
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment