Philipp Hörist pushed to branch master at gajim / python-nbxmpp
Commits: d6974b2e by lovetox at 2022-03-12T20:06:35+01:00 TCP: Set read priority to low
PRIORITY_DEFAULT is used for example for X Server events or other UI tasks. This should help to prefer UI events before network events.
- - - - -
1 changed file:
- nbxmpp/tcp.py
Changes:
===================================== nbxmpp/tcp.py ===================================== @@ -188,7 +188,7 @@ class TCPConnection(Connection):
self._con.get_input_stream().read_bytes_async( READ_BUFFER_SIZE, - GLib.PRIORITY_DEFAULT, + GLib.PRIORITY_LOW, self._read_cancellable, self._on_read_async_finish, None)
View it on GitLab: https://dev.gajim.org/gajim/python-nbxmpp/-/commit/d6974b2ef1b716be17f56db30...