Logs are filling with I/O messages. Sad.
This commit is contained in:
parent
7c9ab94863
commit
3bd9f54f0f
@ -7,6 +7,11 @@ callback-based API for message passing.
|
|||||||
|
|
||||||
See the User Guide in the docs directory for more detail.
|
See the User Guide in the docs directory for more detail.
|
||||||
|
|
||||||
|
## Release 2.2.1 ##
|
||||||
|
|
||||||
|
* disable the socket I/O logging - fills the debug logs with lots of
|
||||||
|
useless crap.
|
||||||
|
|
||||||
## Release 2.2.0 ##
|
## Release 2.2.0 ##
|
||||||
|
|
||||||
* Can now use the system's default CA by specifying the 'x-ssl' option
|
* Can now use the system's default CA by specifying the 'x-ssl' option
|
||||||
|
@ -23,4 +23,4 @@ from pyngus.link import SenderLink, SenderEventHandler
|
|||||||
from pyngus.sockets import read_socket_input
|
from pyngus.sockets import read_socket_input
|
||||||
from pyngus.sockets import write_socket_output
|
from pyngus.sockets import write_socket_output
|
||||||
|
|
||||||
VERSION = (2, 2, 0) # major, minor, fix
|
VERSION = (2, 2, 1) # major, minor, fix
|
||||||
|
@ -70,7 +70,6 @@ def read_socket_input(connection, socket_obj):
|
|||||||
count = Connection.EOS
|
count = Connection.EOS
|
||||||
connection.close_input()
|
connection.close_input()
|
||||||
connection.close_output()
|
connection.close_output()
|
||||||
LOG.debug("Socket recv %s bytes", count)
|
|
||||||
return count
|
return count
|
||||||
|
|
||||||
|
|
||||||
@ -111,7 +110,6 @@ def write_socket_output(connection, socket_obj):
|
|||||||
raise
|
raise
|
||||||
|
|
||||||
if count > 0:
|
if count > 0:
|
||||||
LOG.debug("Socket sent %s bytes", count)
|
|
||||||
connection.output_written(count)
|
connection.output_written(count)
|
||||||
elif data:
|
elif data:
|
||||||
LOG.debug("Socket closed")
|
LOG.debug("Socket closed")
|
||||||
|
2
setup.py
2
setup.py
@ -20,7 +20,7 @@
|
|||||||
import os
|
import os
|
||||||
from setuptools import setup
|
from setuptools import setup
|
||||||
|
|
||||||
_VERSION = "2.2.0" # NOTE: update __init__.py too!
|
_VERSION = "2.2.1" # NOTE: update __init__.py too!
|
||||||
|
|
||||||
# I hack, therefore I am (productive) Some distros (which will not be named)
|
# I hack, therefore I am (productive) Some distros (which will not be named)
|
||||||
# don't use setup.py to install the proton python module. In this case, pip
|
# don't use setup.py to install the proton python module. In this case, pip
|
||||||
|
@ -38,6 +38,15 @@ Total: 200000 messages; credit window: 10; proton (0, 13, 1)
|
|||||||
|
|
||||||
### Lenovo W541 ###
|
### Lenovo W541 ###
|
||||||
|
|
||||||
|
v2.2.1
|
||||||
|
------
|
||||||
|
Python 2.7.13 (Fedora 24)
|
||||||
|
Total: 200000 messages; credit window: 10; proton (0, 17, 0)
|
||||||
|
8176 Messages/second; Latency avg: 19.116ms min: 9.241ms max: 26.693ms
|
||||||
|
Python 3.5.3 (Fedora 24)
|
||||||
|
Total: 200000 messages; credit window: 10; proton (0, 17, 0)
|
||||||
|
7081 Messages/second; Latency avg: 22.103ms min: 10.926ms max: 40.079ms
|
||||||
|
|
||||||
v2.1.4
|
v2.1.4
|
||||||
------
|
------
|
||||||
Python 2.7.13 (Fedora 24)
|
Python 2.7.13 (Fedora 24)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user