Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
7
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
Mirror
sjrpc
Commits
591b106c
Commit
591b106c
authored
Dec 22, 2010
by
Antoine Millet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Increased buffer size for sending and receiving.
parent
85285970
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sjrpc/core/rpcconnection.py
sjrpc/core/rpcconnection.py
+2
-2
No files found.
sjrpc/core/rpcconnection.py
View file @
591b106c
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment